Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (9905 KB)
mpstat(1M)Name | Synopsis | Description | Options | Examples | Attributes | See Also | Notes Name
Synopsis/usr/bin/mpstat [-aq] [-p | -P set] [-T u | d] [interval [count]] Description
The mpstat command reports processor statistics in tabular form. Each row of the table represents the activity of one processor. The first table summarizes all activity since boot. Each subsequent table summarizes activity for the preceding interval. All values are rates listed as events per second unless otherwise noted. During execution of the kernel status command, the state of the kernel can change. If relevant, a state change message is included in the mpstat output, in one of the following forms:
The mpstat command reports the following information: Options
The following options are supported: ExamplesExample 1 Using mpstat to Generate User and System Operation StatisticsThe following command generates processor statistics over a five–second interval in two reports. The command shows the processor set membership of each CPU. The default output is sorted by CPU number, aggregated by processor set, for user (usr) and system (sys) operations.
AttributesSee attributes(5) for descriptions of the following attributes:
Invocation is evolving. Human readable output is unstable. See AlsoNotesThe sum of CPU utilization might vary slightly from 100 due to rounding errors in the production of a percentage figure. The total time used for CPU processing is the sum of usr and sys output values, reported for user and system operations. The idl value reports the time that the CPU is idle for any reason other than pending disk I/O operations. Run the iostat command with the -x option to report I/O service times in svc_t output. The iostat utility also reports the same wt, user (us), and system (sy) statistics. See iostat(1M) for more information. When executing in a zone and if the pools facility is active, mpstat(1M) will only provide information for those processors which are a member of the processor set of the pool to which the zone is bound. Name | Synopsis | Description | Options | Examples | Attributes | See Also | Notes |
||||||||