Examples (5)
Show CPU statistics at a 2 second interval for 10 times
pidstat 2 10Show page faults and memory utilization
pidstat -rShow input/output usage per process ID
pidstat -dShow information on a specific PID
pidstat -p PIDShow memory statistics for all processes whose command name include "fox" or "bird"
pidstat -C "fox|bird" -r -p ALLmade by @shridhargupta | data from tldr-pages