Feature Change to CPU-Usage show Command
The following example provides accurate CPU usage details (note the value fluctuation in the first
column) when 'lines' is not specified. When the command is executed with the lines specified, it still
has the old behavior where the first column will not be consistent with the CPU usage on the FRU.
The following example provides accurate CPU usage details with no line count specified:
Router# show platform software process slot r0 monitor cycles 4 interval 3
top - 18:26:20 up 4 min,
Tasks: 132 total,
Cpu(s): 32.2%us, 30.1%sy,
Mem:
Swap:
PID USER
2776 root
14538 root
1 root
2 root
3 root
4 root
5 root
6 root
9 root
62 root
70 root
71 root
77 root
80 root
125 root
The following example provides CPU usage details with line count specified:
Router# show platform software process slot r0 monitor cycles 10 interval 5 lines 10 | inc
%id
Cpu(s): 20.6%us, 21.5%sy,
Cpu(s): 20.4%us, 21.3%sy,
Cpu(s): 20.2%us, 21.1%sy,
Cpu(s): 20.0%us, 20.9%sy,
Cpu(s): 19.8%us, 20.7%sy,
Cpu(s): 19.8%us, 20.9%sy,
Cpu(s): 19.6%us, 21.0%sy,
Cpu(s): 19.5%us, 20.8%sy,
Cpu(s): 19.3%us, 20.6%sy,
Cpu(s): 19.1%us, 20.4%sy,
Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Hardware Installation Guide
7-16
0 users,
3 running, 129 sleeping,
0.0%ni, 32.2%id,
3874984k total,
1553072k used,
0k total,
PR
NI
VIRT
20
0
2648 1152
20
0
4468 2828 1308 S
20
0
2156
15
-5
0
15
-5
0
RT
-5
0
15
-5
0
15
-5
0
15
-5
0
15
-5
0
15
-5
0
15
-5
0
15
-5
0
15
-5
0
20
0
0
0.0%ni, 53.3%id,
0.0%ni, 53.7%id,
0.0%ni, 54.2%id,
0.0%ni, 54.7%id,
0.0%ni, 55.1%id,
0.0%ni, 54.8%id,
0.0%ni, 54.7%id,
0.0%ni, 55.2%id,
0.0%ni, 55.6%id,
0.0%ni, 56.0%id,
load average: 1.35, 1.84, 0.84
0 stopped,
3.0%wa,
2321912k free,
0k used,
0k free,
RES
SHR S %CPU %MEM
884 R
2.0
0.0
2.0
0.1
644
556 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
0
0 S
0.0
0.0
1.6%wa,
1.6%wa,
1.6%wa,
1.6%wa,
1.6%wa,
1.6%wa,
1.5%wa,
1.5%wa,
1.5%wa,
1.5%wa,
Chapter 7
Troubleshooting the Installation
0 zombie
0.4%hi,
2.1%si,
0.0%st
102904k buffers
963140k cached
TIME+
COMMAND
0:00.01 top
0:00.79 droputil.sh
0:01.34 init
0:00.00 kthreadd
0:00.08 ksoftirqd/0
0:00.00 watchdog/0
0:00.03 events/0
0:00.02 khelper
0:00.00 netns
0:00.00 kblockd/0
0:00.00 ata/0
0:00.00 ata_aux
0:00.00 khubd
0:00.00 kseriod
0:00.00 pdflush
0.5%hi,
2.4%si,
0.0%st
0.5%hi,
2.4%si,
0.0%st
0.5%hi,
2.4%si,
0.0%st
0.5%hi,
2.3%si,
0.0%st
0.5%hi,
2.3%si,
0.0%st
0.5%hi,
2.4%si,
0.0%st
0.5%hi,
2.6%si,
0.0%st
0.5%hi,
2.5%si,
0.0%st
0.5%hi,
2.5%si,
0.0%st
0.5%hi,
2.5%si,
0.0%st
OL-14126-12