How to find what process are using Swap /proc/meminfo – This file reports statistics about memory usage on the system. It is used by free to report the amount of free and used memory (both physical and swap) on the […]
check process uptime
Simple script to get any linux process uptime. It could have been done using the /proc/PID too. Here is the code: #!/bin/bash # Script to get a process uptime, alerts if process time is under CRIT value # can be […]
script to monitor cpu usage by process
A bash script to get the CPU usage by process usage: nohup ./check_proc bwengine 70 & bwegnine is the process name we want to monitor 70 is to log only when the process is using over 70% of the CPU. […]