CPU Utilization - Display Command

Which command displays CPU utilization?

Prev Question Next Question

Question

Which command displays CPU utilization?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

The correct command to display CPU utilization on Cisco devices is "show processes". Therefore, the correct answer is B.

The "show processes" command displays information about active processes on the device, including CPU utilization statistics. By default, the output will show the top five processes consuming the most CPU resources, along with their process ID (PID), status, and utilization percentage.

For example, the output of the "show processes" command might look like this:

sql
Router# show processes CPU utilization for five seconds: 35%/10%; one minute: 45%; five minutes: 50% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process --- ----------- ------- --------- ----- ----- ----- --- ------- 1 312 1 312 0.00% 0.00% 0.00% 0 Chunk Manager 2 4164 292 14 0.00% 0.00% 0.00% 0 Load Meter 3 220 174 1 0.00% 0.00% 0.00% 0 IPC Periodic Tim 4 546688 1198793 45 22.61% 17.52% 16.83% 0 IP Input 5 244 1 244 0.00% 0.00% 0.00% 0 Ethernet Msec Ti

In this example, the CPU utilization for the past five seconds is 35%, while the CPU utilization for the past one minute and five minutes is 45% and 50%, respectively. The top CPU-consuming process is process ID 4 (IP Input), which has consumed 22.61% of the CPU resources in the past five seconds.

Note that the "show system" command displays system-wide information, but not CPU utilization specifically. The "show protocols" command displays information about configured protocols, while the "show version" command displays information about the device's software version and hardware platform.