Skip to main content

Watch a process with pid under Linux.

B4nightLess than 1 minute

Watch a process with pid under Linux.

We need pidstat command to monitor processes.

e.g.: pidstat -p [pid] 1 , this can print the status each second.

Last update:
Contributors: B4night,b4night