show cpu

Description                                                    Display CPU statistics.

Syntax                                                                  show cpu
[history [seconds | minutes | hours | control-cpu | data-cpu]]
[interval seconds]
[overall]

Parameter

Description

history

Show control CPU and data CPU usage information.

seconds

Show CPU usage information in last 60 seconds.

minutes

Show CPU usage information in last hour.

hours

Show CPU usage information in last 72 hours.

control-cpu

Show Control CPU usage information.

data-cpu

Show Data CPU usage information.

interval seconds

Automatically refreshes the output at the specified interval. If you omit this option, the output is shown one time. If you use this option, the output is repeatedly refreshed at the specified interval until you press ctrl+c.

Mode                                                                   Privileged EXEC level and configuration levels

If you enter the show cpu command from within an L3V partition, the command shows utilization for only that partition.

Example                                                            The following command shows CPU statistics in 10-second intervals:

ACOS# show cpu interval 10

Cpu Usage: (press ^C to quit)

           1Sec    5Sec    10Sec   30Sec   60Sec

--------------------------------------------------------

Time: 23:42:10 GMT Tue Dec 8 2015

Control1      5%      4%      6%      5%      4%

Data1         0%      0%      0%      0%      0%

Data2         0%      0%      0%      0%      0%

Data3         0%      0%      0%      0%      0%

Data4         0%      0%      0%      0%      0%

Data5         0%      0%      0%      0%      0%

I/O1        100%    100%    100%    100%    100%

I/O2        100%    100%    100%    100%    100%

Time: 23:42:20 GMT Tue Dec 8 2015

Control1      4%      3%      3%      4%      4%

Data1         0%      0%      0%      0%      0%

Data2         0%      0%      0%      0%      0%

Data3         0%      0%      0%      0%      0%

Data4         0%      0%      0%      0%      0%

Data5         0%      0%      0%      0%      0%

I/O1        100%    100%    100%    100%    100%

I/O2        100%    100%    100%    100%    100%

...

<ctrl+c>

 

ACOS#

The following table describes the fields in the command output.

Field

Description

Time

System time when the statistics were gathered.

Controln

Control CPU.

Datan

Data CPU. The number of data CPUs depends on the ACOS model.

I/On

IO CPU usage.

I/O fields are displayed on non-FTA platforms only.

1Sec-60sec

Time intervals at which statistics are collected.

Example                                                            The following command output displays CPU utilization rates plotted over the last 60 sec­onds. The x-axis represents the time elapsed and the y-axis represents the CPU utilization rate. Asterisks appear along the bottom of the output to illustrate the CPU utilization rates over time. The figure below only shows the usage for the Control CPU. The usage for the Control CPU and Data CPU are displayed in separate figures. The CLI command prints 1 aster­isk for every 10 percent utilization. This means no asterisk will be printed if the CPU usage is from 0-4; one asterisk will be printed if the CPU usage is 5-14; two asterisks will be printed if the CPU usage is 15-24; and so on.

ACOS(config)#show cpu history seconds

Time: 12:27:35 IST Tue Sep 30 2014

 

 

  533743333333244342332253334382533636436465444746756446654678

100

90

80

70

60

50

40

30

20

10*  *                  *     * *  * *  * **   * ****  *** ***

  0....0....1....1....2....2....3....3....4....4....5....5....

         5    0    5    0    5    0    5    0    5    0    5

     Control CPU1:   CPU% per second (last 60 seconds)

 

 

 

100

90

80

70

60

50

40

30

20

10

  0....0....1....1....2....2....3....3....4....4....5....5....

         5    0    5    0    5    0    5    0    5    0    5

     Data CPU1:   CPU% per second (last 60 seconds)

 

Table of Contents

Index

Glossary

-Search-

Back