Hi
I think this link can help you find answer.
https://supportforums.cisco.com/message/3165824?tstart=0
On Fri, Mar 11, 2011 at 10:28 AM, Ahmed Ejaz <aahmedejaz_at_gmail.com> wrote:
> Hi,
>
> Is it possible to display the first 10 lines of the following:
>
> show process cpu sorted 5min??
>
> Thanks.
>
> On Fri, Mar 11, 2011 at 1:54 PM, Daniel Dib <daniel.dib_at_reaper.nu> wrote:
>
> > On fr, mar 11, 2011 at 02:34:57, Tyson Scott wrote:
> > > Cc: 'Cisco certification'
> > > Subject: RE: EEM task doubt
> > >
> > > Remove the underscores
> > >
> > > Regards,
> > >
> > > Tyson Scott - CCIE #13513 R&S, Security, and SP -----Original
> >
> > sh proc cpu | i CPU|PID|^ [1-9]|^ 10 works for me. Note that there are
> > spaces between the ^ and [1-9] and so on. Depends on the indentation of
> > your
> > output of course. I did try some other regexps but seems it's not
> > equivalent
> > to the regexp used in BGP etc.
> >
> > /Daniel
> >
> >
> > 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
>
>
>
>
>
>
>
>
-- Pozdrawiam/Regards Krzysiek Blogs and organic groups at http://www.ccie.netReceived on Fri Mar 11 2011 - 20:09:02 ART
This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 06:35:41 ART