pidstat

pidstat#

Per-process resource usage (sysstat).

$ pidstat 1
$ pidstat -u -p $(pidof nginx) 1
$ pidstat -d 1
$ pidstat -r 1