Experts,
How to see only the 1st 10 lines of "show process cpu sorted 5min"
Router#sh processes cpu sorted 5min
CPU utilization for five seconds: 1%/0%; one minute: 3%; five minutes: 4%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
4 118728 7108 16703 0.00% 0.43% 0.60% 0 Check heaps
72 127376 193046 659 0.32% 0.07% 0.37% 0 IP Input
40 118832 86699 1370 0.16% 0.27% 0.32% 0 COLLECT STAT
COU
187 68 47 1446 0.49% 0.06% 0.01% 5 Virtual Exec
43 3924 292 13438 0.00% 0.03% 0.00% 0 Per-minute
Jobs
153 1256 5273 238 0.00% 0.00% 0.00% 0 EEM Server
110 680 290 2344 0.00% 0.00% 0.00% 0 IP Cache Ager
8 284 1007 282 0.00% 0.00% 0.00% 0 ARP Input
7 0 1 0 0.00% 0.00% 0.00% 0 Crash writer
10 0 2 0 0.00% 0.00% 0.00% 0 AAA
high-capacit
9 0 2 0 0.00% 0.00% 0.00% 0 ATM Idle
Timer
11 0 1 0 0.00% 0.00% 0.00% 0
AAA_SERVER_DEADT
13 8 579 13 0.00% 0.00% 0.00% 0 DDR Timers
14 0 2 0 0.00% 0.00% 0.00% 0 Entity MIB
API
12 0 1 0 0.00% 0.00% 0.00% 0 Policy
Manager
16 4 1736 2 0.00% 0.00% 0.00% 0 HC Counter
Timer
15 24 339 70 0.00% 0.00% 0.00% 0 EEM ED Syslog
18 0 1 0 0.00% 0.00% 0.00% 0 RO Notify
Timers
19 0 1 0 0.00% 0.00% 0.00% 0 RMI RM Notify
Wa
6 0 2 0 0.00% 0.00% 0.00% 0 Timers
21 12 17351 0 0.00% 0.00% 0.00% 0 GraphIt
--More--
I am trying the following, but doesn't show me just 10 line
Router#sh processes cpu sorted 5min | include ^C|^_P|^_|^__|^___[1-8]
Any ideas?
Cheers.
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3085 - Release Date: 08/21/10
07:35:00
Blogs and organic groups at http://www.ccie.net
Received on Sat Aug 21 2010 - 15:26:08 ART
This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART