Whats so difficult about ISSU
Pete Lumbis
alumbis at gmail.com
Sat Nov 10 01:24:35 UTC 2012
> So each IOSd process 'show proc cpu' are separate threads to linux?
Yep. The "show platform software..." commands are used to look at things in
software, outside of IOSd. Don't get me started on how absurd the command
lengths are.
===========================
ASR#show proc cpu
CPU utilization for five seconds: 0%/0%; one minute: 0%; five minutes: 0%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 2 16 125 0.00% 0.00% 0.00% 0 Chunk
Manager
2 12446 402522 30 0.00% 0.00% 0.00% 0 Load Meter
3 2927 97933 29 0.00% 0.00% 0.00% 0 CDP
Protocol
....
ASR#show platform software process list rp active
Name Pid PPid Group Id Status Priority Size
------------------------------------------------------------------------------
init 1 0 1 S 20 2207744
kthreadd 2 0 0 S 15 0
ksoftirqd/0 3 2 0 S 15 0
watchdog/0 4 2 0 S 4294967196 0
events/0 5 2 0 S 15 0
khelper 6 2 0 S 15 0
netns 9 2 0 S 15 0
linux_iosd-imag 26181 24860 26181 R 20
2010271744
.....
ASR#show plat soft proc slot rp active monitor cycles 5
top - 17:14:45 up 23 days, 7:15, 0 users, load average: 0.10, 0.11, 0.09
Tasks: 126 total, 2 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.8%us, 3.0%sy, 0.0%ni, 95.1%id, 0.0%wa, 0.0%hi, 0.1%si,
0.0%st
Mem: 3874968k total, 1760588k used, 2114380k free, 129520k buffers
Swap: 0k total, 0k used, 0k free, 1122644k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25395 root 20 0 26784 15m 13m S 9.8 0.4 288:48.06 imand
23350 root 20 0 28004 11m 8628 S 5.9 0.3 219:03.66 cmand
13631 root 20 0 2648 1148 884 R 2.0 0.0 0:00.01 top
26181 root 20 0 1917m 406m 143m R 2.0 10.7 365:07.12 linux_iosd-imag
28395 root 20 0 101m 90m 6328 S 2.0 2.4 13:08.97 smand
1 root 20 0 2156 640 552 S 0.0 0.0 0:04.66 init
===========================
More information about the NANOG
mailing list