EasyManua.ls Logo

Cisco ASR1004 - ASR 1004 Modular Expansion Base - Feature Change to CPU-Usage Show Command

Cisco ASR1004 - ASR 1004 Modular Expansion Base
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7-15
Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Hardware Installation Guide
OL-14126-12
Chapter 7 Troubleshooting the Installation
Feature Change to CPU-Usage show Command
Feature Change to CPU-Usage show Command
To display the current CPU-Usage for a FRU, the show platform software process slot slot monitor
cycles cycles interval interval lines lines command is used from the console. The way this command is
run on a FRU, is changed from Cisco IOS XE Release 3.4.0s.
Old Behavior
If lines is specified in the show platform software process slot slot monitor cycles cycles interval
interval lines lines command, the results generated and displayed did not reflect accurate CPU
utilization at the time. This was because the command was executed as many cycles as specified one
cycle at a time.
The following example shows the output of the show platform software process slot slot monitor
cycles cycles interval interval lines lines command.
This command produced inaccurate CPU usage details as illustrated in the following example:
Router# show platform software process slot r0 monitor cycles 4 interval 3 lines 5
top - 18:26:00 up 4 min, 0 users, load average: 1.89, 1.97, 0.86
Tasks: 133 total, 2 running, 131 sleeping, 0 stopped, 0 zombie
Cpu(s): 34.4%us, 32.3%sy, 0.0%ni, 27.4%id, 3.2%wa, 0.5%hi, 2.2%si, 0.0%st
Mem: 3874984k total, 1553444k used, 2321540k free, 102904k buffers
Swap: 0k total, 0k used, 0k free, 963120k cached
top - 18:26:03 up 4 min, 0 users, load average: 1.89, 1.97, 0.86
Tasks: 133 total, 3 running, 130 sleeping, 0 stopped, 0 zombie
Cpu(s): 34.0%us, 31.9%sy, 0.0%ni, 28.3%id, 3.2%wa, 0.5%hi, 2.2%si, 0.0%st
Mem: 3874984k total, 1553444k used, 2321540k free, 102904k buffers
Swap: 0k total, 0k used, 0k free, 963120k cached
top - 18:26:07 up 4 min, 0 users, load average: 1.74, 1.94, 0.86
Tasks: 133 total, 3 running, 130 sleeping, 0 stopped, 0 zombie
Cpu(s): 33.6%us, 31.5%sy, 0.0%ni, 29.2%id, 3.1%wa, 0.5%hi, 2.2%si, 0.0%st
Mem: 3874984k total, 1553452k used, 2321532k free, 102904k buffers
Swap: 0k total, 0k used, 0k free, 963120k cached
top - 18:26:10 up 4 min, 0 users, load average: 1.60, 1.91, 0.85
Tasks: 133 total, 2 running, 131 sleeping, 0 stopped, 0 zombie
Cpu(s): 33.2%us, 31.1%sy, 0.0%ni, 30.0%id, 3.1%wa, 0.5%hi, 2.2%si, 0.0%st
Mem: 3874984k total, 1553452k used, 2321532k free, 102904k buffers
Swap: 0k total, 0k used, 0k free, 963124k cached
New Behavior
The show platform software process slot slot monitor cycles cycles interval interval command
produced accurate CPU usage details, if executed without the lines number-of-lines parameters. The
show command, if executed without the lines number-of-lines keywords is executed in batch-mode.
Note To display accurate CPU usage details, execute the show platform software process slot slot monitor
cycles cycles interval interval command without the lines number-of-lines keyword or use the top
command top -s -b -n iterations - d interval from Linux shell.

Table of Contents

Related product manuals