1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 15:26:04 +02:00

pidstat: add page (#3529)

This commit is contained in:
Ein Verne 2019-11-13 05:02:06 +08:00 committed by Starbeamrainbowlabs
parent 32f696b83f
commit 5b34319212

23
pages/linux/pidstat.md Normal file
View file

@ -0,0 +1,23 @@
# pidstat
> Show system resource usage, including CPU, memory, IO etc.
- Show CPU statistics at a 2 second interval for 10 times:
`pidstat {{2}} {{10}}`
- Show page faults and memory utilization:
`pidstat -r`
- Show input/output usage per process id:
`pidstat -d`
- Show information on a specific PID:
`pidstat -p {{PID}}`
- Show memory statistics for all processes whose command name include "fox" or "bird":
`pidstat -C "{{fox|bird}}" -r -p ALL`