mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
426 B
Plaintext
22 lines
426 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mpstat
|
|
|
|
> Report CPU statistics.
|
|
> More information: <https://manned.org/mpstat>.
|
|
|
|
- Display CPU statistics every 2 seconds:
|
|
|
|
`mpstat {{2}}`
|
|
|
|
- Display 5 reports, one by one, at 2 second intervals:
|
|
|
|
`mpstat {{2}} {{5}}`
|
|
|
|
- Display 5 reports, one by one, from a given processor, at 2 second intervals:
|
|
|
|
`mpstat -P {{0}} {{2}} {{5}}`
|