snippetbashTip
mpstat — Report CPU statistics. More information: <https://manned.org/mpstat>.
Viewed 0 times
commandreportcliinformationstatisticscpumorempstat
linux
Problem
How to use the
mpstat command: Report CPU statistics. More information: <https://manned.org/mpstat>.Solution
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}}Code Snippets
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}}Context
tldr-pages: linux/mpstat
Revisions (0)
No revisions yet.