
show process
2-465
cpu
Displays the use in 100ths of seconds and percentage of cpu used by all processes on the
router. By specifying the options that appear in the following command line, you can
customize the output to display cpu usage for a particular process or slot on the router.
show process cpu
<process>
[sample
<seconds> <repeat>
] [
<slot>
]
Sample Display – show process cpu total
Total Cpu Use Statistics
---------------------------
Slot Max Idle Used %Used
---- ---------- ---------- ---------- -----
2 17463 17191 272 1
3 17315 17045 270 1
4 19427 16075 3352 17
process Specifies the process for which you want to view cpu statistics.
Specify “all” to display cpu statistics for all processes running
on the router. Specify “total” to display only cpu statistic totals.
For information on how to obtain a list of available processes,
refer to the show process list command later in this section.
sample <seconds> <repeat> Periodically samples and displays cpu usage statistics. The
mandatory <seconds> argument indicates the time interval
between samples. The manadatory <repeat> argument indicates
the number of times to sample cpu usage. If you use sampling,
the values displayed represent the amount of cpu usage for the
interval last sampled.
The minimum sample interval is 5 seconds. If you specify a
shorter interval, the command automatically substitutes the
minimum interval of 5 seconds.
If you choose not to use sampling, the values displayed
represent the total cpu usage since slot boot time.
slot Limits display to statistics for the slot you specify.
Comentarios a estos manuales