Cisco ASR1006 Hardware Installation Guide - Page 176

column when 'lines' is not specified. When the command is executed with the lines specified, it still

Page 176 highlights

Feature Change to CPU-Usage show Command Chapter 7 Troubleshooting the Installation 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, 0 users, load average: 1.35, 1.84, 0.84 Tasks: 132 total, 3 running, 129 sleeping, 0 stopped, 0 zombie Cpu(s): 32.2%us, 30.1%sy, 0.0%ni, 32.2%id, 3.0%wa, 0.4%hi, 2.1%si, 0.0%st Mem: 3874984k total, 1553072k used, 2321912k free, 102904k buffers Swap: 0k total, 0k used, 0k free, 963140k cached 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 PR NI VIRT RES SHR S %CPU %MEM 20 0 2648 1152 884 R 2.0 0.0 20 0 4468 2828 1308 S 2.0 0.1 20 0 2156 644 556 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 RT -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 15 -5 0 0 0 S 0.0 0.0 20 0 0 0 0 S 0.0 0.0 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 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, 0.0%ni, 53.3%id, 1.6%wa, 0.5%hi, 2.4%si, 0.0%st Cpu(s): 20.4%us, 21.3%sy, 0.0%ni, 53.7%id, 1.6%wa, 0.5%hi, 2.4%si, 0.0%st Cpu(s): 20.2%us, 21.1%sy, 0.0%ni, 54.2%id, 1.6%wa, 0.5%hi, 2.4%si, 0.0%st Cpu(s): 20.0%us, 20.9%sy, 0.0%ni, 54.7%id, 1.6%wa, 0.5%hi, 2.3%si, 0.0%st Cpu(s): 19.8%us, 20.7%sy, 0.0%ni, 55.1%id, 1.6%wa, 0.5%hi, 2.3%si, 0.0%st Cpu(s): 19.8%us, 20.9%sy, 0.0%ni, 54.8%id, 1.6%wa, 0.5%hi, 2.4%si, 0.0%st Cpu(s): 19.6%us, 21.0%sy, 0.0%ni, 54.7%id, 1.5%wa, 0.5%hi, 2.6%si, 0.0%st Cpu(s): 19.5%us, 20.8%sy, 0.0%ni, 55.2%id, 1.5%wa, 0.5%hi, 2.5%si, 0.0%st Cpu(s): 19.3%us, 20.6%sy, 0.0%ni, 55.6%id, 1.5%wa, 0.5%hi, 2.5%si, 0.0%st Cpu(s): 19.1%us, 20.4%sy, 0.0%ni, 56.0%id, 1.5%wa, 0.5%hi, 2.5%si, 0.0%st 7-16 Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Hardware Installation Guide OL-14126-12

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188

7-16
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
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,
0 users,
load average: 1.35, 1.84, 0.84
Tasks: 132 total,
3 running, 129 sleeping,
0 stopped,
0 zombie
Cpu(s): 32.2%us, 30.1%sy,
0.0%ni, 32.2%id,
3.0%wa,
0.4%hi,
2.1%si,
0.0%st
Mem:
3874984k total,
1553072k used,
2321912k free,
102904k buffers
Swap:
0k total,
0k used,
0k free,
963140k cached
PID USER
PR
NI
VIRT
RES
SHR S %CPU %MEM
TIME+
COMMAND
2776 root
20
0
2648 1152
884 R
2.0
0.0
0:00.01 top
14538 root
20
0
4468 2828 1308 S
2.0
0.1
0:00.79 droputil.sh
1 root
20
0
2156
644
556 S
0.0
0.0
0:01.34 init
2 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 kthreadd
3 root
15
-5
0
0
0 S
0.0
0.0
0:00.08 ksoftirqd/0
4 root
RT
-5
0
0
0 S
0.0
0.0
0:00.00 watchdog/0
5 root
15
-5
0
0
0 S
0.0
0.0
0:00.03 events/0
6 root
15
-5
0
0
0 S
0.0
0.0
0:00.02 khelper
9 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 netns
62 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 kblockd/0
70 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 ata/0
71 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 ata_aux
77 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 khubd
80 root
15
-5
0
0
0 S
0.0
0.0
0:00.00 kseriod
125 root
20
0
0
0
0 S
0.0
0.0
0:00.00 pdflush
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,
0.0%ni, 53.3%id,
1.6%wa,
0.5%hi,
2.4%si,
0.0%st
Cpu(s): 20.4%us, 21.3%sy,
0.0%ni, 53.7%id,
1.6%wa,
0.5%hi,
2.4%si,
0.0%st
Cpu(s): 20.2%us, 21.1%sy,
0.0%ni, 54.2%id,
1.6%wa,
0.5%hi,
2.4%si,
0.0%st
Cpu(s): 20.0%us, 20.9%sy,
0.0%ni, 54.7%id,
1.6%wa,
0.5%hi,
2.3%si,
0.0%st
Cpu(s): 19.8%us, 20.7%sy,
0.0%ni, 55.1%id,
1.6%wa,
0.5%hi,
2.3%si,
0.0%st
Cpu(s): 19.8%us, 20.9%sy,
0.0%ni, 54.8%id,
1.6%wa,
0.5%hi,
2.4%si,
0.0%st
Cpu(s): 19.6%us, 21.0%sy,
0.0%ni, 54.7%id,
1.5%wa,
0.5%hi,
2.6%si,
0.0%st
Cpu(s): 19.5%us, 20.8%sy,
0.0%ni, 55.2%id,
1.5%wa,
0.5%hi,
2.5%si,
0.0%st
Cpu(s): 19.3%us, 20.6%sy,
0.0%ni, 55.6%id,
1.5%wa,
0.5%hi,
2.5%si,
0.0%st
Cpu(s): 19.1%us, 20.4%sy,
0.0%ni, 56.0%id,
1.5%wa,
0.5%hi,
2.5%si,
0.0%st