HP 3PAR OS 3.1.3 Command Line Interface Reference
statcpu
DESCRIPTION
The statcpu command displays CPU statistics for all nodes.
SYNTAX
statcpu [options <arg>]
AUTHORITY
Any role in the system.
OPTIONS
–d <secs>
Specifies the interval, in seconds, that statistics are sampled using an integer from 1 through
2147483. If no interval is specified, the option defaults to an interval of two seconds.
–iter <number>
Specifies that CPU statistics are displayed a specified number of times as indicated by the number
argument using an integer from 1 through 2147483647.
–t
Show only the totals for all the CPUs on each node.
SPECIFIERS
None
RESTRICTIONS
None
EXAMPLES
The following example displays two iterations of CPU statistics for all nodes:
cli% statcpu –iter 2
15:11:03
node,cpu user sys idle intr/s ctxt/s
0,0 0 0 100
0,1 0 0 100
0,total 0 0 100 162 412
1,0 0 1 99
1,1 0 1 99
1,total 0 1 99 158 269
Press the enter key to stop...
15:11:05
node,cpu user sys idle intr/s ctxt/s
0,0 0 0 100
0,1 19 7 74
0,total 10 4 87 183 444
1,0 0 0 100
1,1 0 0 100
1,total 0 0 100 158 235
Press the enter key to stop...
statcpu 601