- Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdisplay-cpu-utilization-with-every-show.html
9 lines (7 loc) · 1.53 KB
/
display-cpu-utilization-with-every-show.html
1
2
3
4
5
6
7
8
---
url: /2008/05/display-cpu-utilization-with-every-show/
title: "Display CPU utilization with every show command"
date: "2008-05-29T07:36:00.000+02:00"
tags: [ command line interface ]
---
Xavier has <ahref="/2008/05/continuous-display-of-top-cpu-processes/#c1472479916320962851">mentioned an interesting undocumented command</a> in his comment to the “<ahref="/2008/05/continuous-display-of-top-cpu-processes/">Continuous display of top CPU processes</a>” post: after you execute <strong>terminal exec prompt timestamp</strong>, every show command displays current time and CPU utilization before the requested printout.<!--more-->Here is a short example:<preclass="code">R1#<strong>terminal exec prompt timestamp </strong><br/>R1#<strong>show ip interface brief</strong><br/><spanclass="high">Load for five secs: 4%/0%; one minute: 1%; five minutes: 0%<br/>Time source is NTP, 17:31:14.456 UTC Wed May 28 2008</span><br/><br/>Interface IP-Address OK? Method Status Protocol<br/>FastEthernet0/0 10.0.0.1 YES NVRAM up up <br/>FastEthernet0/1 192.168.200.205 YES DHCP up up <br/>Serial1/0 unassigned YES NVRAM administratively down down <br/>Serial1/1 unassigned YES NVRAM administratively down down <br/>Serial1/2 unassigned YES NVRAM administratively down down <br/>Serial1/3 unassigned YES NVRAM administratively down down<br/></pre>