Platform Clear and Show Commands
3-100 Configuring the XSR Platform

show cpu-utilization

ThiscommandtrackscurrentuseofvariousCPUprocessesasapercentageoftotalCPUusagefor
thelastfivesecond,oneminute,andfiveminuteintervals,andthenumberoftimeseachprocess
wascalledintotalsincetheXSRwaspoweredon.Also,CPUutilizationisshown:thefirst
percentageindicatestotalCPUusage,thesecondindicatesthepercentageofCPUtimespentat
theinterruptlevel,andremainingpercentagesaretotalCPUusagefor1‐and5minuteperiods.
ThecommandisagooddiagnostictooltomeasurewhichprocessisconsumingthemostCPU
timeandhowstrenuouslytheCPUisworkingasawhole.TheXSRisoperatingnormallyifthe
CPUcansatisfyadvertisedthroughputlevelsatmaximumcapacity.
Beawarethatthiscommanddrawsonprocessorcapacityattheexpenseofoperationalneeds.
Syntax
show cpu-utilization
Mode
EXECorPrivilegedEXEC:XSR>orXSR#
Default
CPUusagetrackingisonbydefault.
Sample Output
XSR#show processes cpu
Process Runtime(m) 5Sec 1Min 5Min Invoked
PP 0.00 0.01% 0.00% 0.00% 16302
RIP 0.00 0.01% 0.01% 0.01% 334
OSPF 0.00 0.02% 0.01% 0.01% 465
Idle 5.40 99.17% 99.24% 99.26% 0
Other 0.04 0.80% 0.74% 0.72% 26700
CPU utilization for five seconds: 14.53%/0.80%; one minute: 9.88%; five minutes: 8.20%

Parameter Description

Process XSRtaskmeasuredincludingPacketProcessor(XSRforwarding
engine),RIPandOSPFProcessors,Idle(calculatedprocessoridletime),
andOther(allothertasks).
Invoked NumberoftimesaprocesshasbeencalledsincetheXSRwasactive.
CPUutilization TotalpercentageofCPUbeingusedateachinterval.
14.53%/0.80%;one
minute:9.88%;five
minutes:8.20%
Thefirstpercentageindicatesthetotalandthesecondindicatesthe
percentageofCPUtimespentattheinterruptlevel,followedbyone
andfiveminutepercentages.