Posts tagged ‘monitoring’

Check process using strace

strace -f -r -o pid.out -p {PID}

Monitoring system using sar

The sar command writes to standard output the contents of selected cumulative activity counters in the operating system, e.g:

nohup sar -A -o /tmp/activity 60 0 1>/dev/null 2>&1 &