RE: CPU Process Question

From: Tony Varriale <tvarriale_at_flamboyaninc.com>
Date: Wed, 12 Aug 2009 16:41:49 -0500

I'm really disappointed not seeing the "s" in there after the cpu! :)

tv

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Marko Milivojevic
Sent: Wednesday, August 12, 2009 3:02 PM
To: Scott Morris
Cc: Ryan West; Nauman Habib; Steve Lyons; Cisco certification
Subject: Re: CPU Process Question

On Wed, Aug 12, 2009 at 19:50, Scott Morris<swm_at_emanon.com> wrote:
> Keep in mind the "." is an expression for any character...
>
> e 0\.00 will specifically match the period.
One of the things I always put on any production router I run is:

alias exec ps show proc cpu | e 0.00%__0.00%__0.00%

It's useful to show only those processes that actually use any CPU at
that moment. No need to worry about the dot in this case :-).

--
Marko
CCIE #18427 (SP)
My network blog: http://cisco.markom.info/
Blogs and organic groups at http://www.ccie.net
Received on Wed Aug 12 2009 - 16:41:49 ART

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 05:43:56 ART