show cpu

To display CPU information, use the show cpu command in the EXEC mode.

show cpu [statistics] [|] [|]

Syntax Description

show cpu

The command to display CPU information.

statistics

Displays CPU statistics.

|

Output modifier variables:

 • begin—Matched pattern. Supports up to 80 alphanumeric characters.

 • count—Count the number of lines in the output. Add number after the word count.

|—Output modifier variables (see Table 4-6).

 • end—End with line that matches. Supports up to 80 alphanumeric characters.

 • exclude—Exclude lines that match. Supports up to 80 alphanumeric characters.

 • include—Include lines that match. Supports up to 80 alphanumeric characters.

 • last—Display last few lines of output. Add number after the word last. Supports up to 80 lines to display. Default 10.

|—Output modifier variables (see Table 4-6).

Table 4-6 Output Modifier Variables for Count or Last

|

Output modifier variables:

 • begin—Matched pattern. Supports up to 80 alphanumeric characters.

 • count—Count the number of lines in the output. Add number after the word count.

|—Output modifier variables.

 • end—End with line that matches. Supports up to 80 alphanumeric characters.

 • exclude—Exclude lines that match. Supports up to 80 alphanumeric characters.

 • include—Include lines that match. Supports up to 80 alphanumeric characters.

 • last—Display last few lines of output. Add number after the word last. Supports up to 80 lines to display. Default 10.

|—Output modifier variables.

Defaults

No default behavior or values.

Command Modes

EXEC

Usage Guidelines

None.

Examples

Example 1

/admin# show cpu

 

processor : 0

model : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz

speed(MHz): 1596.000

cache size: 2048 KB

 

processor : 1

model : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz

speed(MHz): 1596.000

cache size: 2048 KB

 

/admin#

Example 2

/admin# show cpu statistics

user time: 265175

kernel time: 166835

idle time: 5356204

i/o wait time: 162676

irq time: 4055

 

/admin#

Related Commands

Command

Description

show disks

Displays the system information of all disks.

show memory

Displays the amount of system memory that each system process uses.