commands.sh

mpstat

linux

Report CPU statistics.

More info →

Examples (3)

Display CPU statistics every 2 seconds

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
made by @shridhargupta | data from tldr-pages