Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

CSS - "show proc cpu" like IOS ?

Hi,

is there any possibillity to see, which process use the CPU.

In some moments my cpu usage on SCM increase over 50%, but I have no idea which process causes this high cpu.

css01(debug)# show system-resources cpu_summary

Chassis CPU Utilizations

Name Slot Sub CPU%

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

CSS5-SCM-2GE B0 1 1 53%

CSS5-IOM-2GE B0 3 1 0%

CSS5-IOM-2GE B0 2 1 1%

CSS5-SSL-K9 C0 6 1 0%

Is there a command, which show me the processes and CPU load, like "show proc cpu" on IOS.

thanks in advance

sascha

1 REPLY
Cisco Employee

Re: CSS - "show proc cpu" like IOS ?

you need to go in llama/debug mode.

Then you need to do

GILLES(debug)# symbol-table load ?

MALLOMAR

SPRITZ

2GIOM

GILLES(debug)# symbol-table load SPRITZ

Loading string table... 193,547

Loading symbols........ 8,707

Load complete.......... 402,515

GILLES(debug)# shell 1 1 spyReport

NAME ENTRY TID PRI total % (ticks) delta % (ticks)

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

tExcTask 8e7a87f0 0 0% ( 0) 0% ( 0)

tLogTask 8e7a5c50 0 0% ( 0) 0% ( 0)

tEvtTask 8e233fc0 0 0% ( 0) 0% ( 0)

tOnDMHeartbe 8de4bc20 0 0% ( 0) 0% ( 0)

tWdbTask 8e12bf00 3 0% ( 0) 0% ( 0)

<....>

Another command is 'cpu hog'.

It gives you the last 5 processes.

If you repeat the command multiple times, you should

see the process consuming always the CPU.

Finally, you have to unload the symbol file.

symbol-table unload SPRITZ

Regards,

Gilles.

443
Views
0
Helpful
1
Replies
CreatePlease to create content