you can either use that command if you want the proccess that taken the most
cpu in the last 5sec
sh processes cpu sorted 5sec
or if you are sure that in the last 5sec some proccess taken 100% and you
want to see only them you can use:
sh processes cpu | include 100%
2009/8/9 Ryan West <rwest_at_zyedge.com>
> This was an interesting topic so I did a little more research, I would
> check out 'process cpu autoprofile hog' and then 'show process cpu
> autoprofile hog'. I haven't had a chance to test with them, but I think it
> might provide you what you're looking for.
>
> As for s cpu proc history, that's not going to show individual process, but
> just overall CPU state over time. This information can also be extended
> with the 'process cpu extended' command.
>
> -ryan
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> ??? ?????
> Sent: Sunday, August 09, 2009 1:02 PM
> To: Cisco certification
> Subject: Fwd: CPU Process Question
>
> ---------- Forwarded message ----------
> From: W W)W W W W W W <eshedalonie_at_gmail.com>
> Date: Sun, Aug 9, 2009 at 8:00 PM
> Subject: Re: CPU Process Question
> To: Ryan West <rwest_at_zyedge.com>
>
>
> Show Proc cpu is good only when you write it down at a current moment.
> I Want to know not at a current moment but when it happens...
>
> 2009/8/9 Ryan West <rwest_at_zyedge.com>
>
> S proc cpu sort isnb t giving u what you want?
> >
> > -----Original Message-----
> > From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> > ??? ?????
> > Sent: Sunday, August 09, 2009 10:09 AM
> > To: Cisco certification
> > Subject: CPU Process Question
> >
> > Is there a way to know what process generate 100% CPU ?
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
-- Shiran Guez MCSE CCNP NCE1 JNCIA-ER CCIE #20572 http://cciep3.blogspot.com http://www.linkedin.com/in/cciep3 http://twitter.com/cciep3 Blogs and organic groups at http://www.ccie.netReceived on Mon Aug 10 2009 - 08:12:37 ART
This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 05:43:56 ART