On Fri, 02 Mar 2012 13:12:04 -0500
Tanstaafl <[email protected]> wrote:

> On 2012-03-02 1:02 PM, Paul Hartman <[email protected]>
> wrote:
> > On Fri, Mar 2, 2012 at 11:46 AM,
> > Tanstaafl<[email protected]>  wrote:
> >> >  Does anyone know if there is a way to filter the output of ps
> >> > aux to show only lines that have a value in the %CPU column
> >> > higher than x - ie, 1.0, or 2.0, or something like that?
> > ps aux | gawk '{ if ( $3>  1.0 ) { print } }'
> 
> Thanks Paul! Thats a huge help...
> 
> Now if I could just get a constantly updated output of this (like 
> tailing a live log), I'd be in heaven... ;)
> 
> But if this is the best I can do, it is 1000 times better...
> 

try "watch"

-- 
Alan McKinnnon
[email protected]


Reply via email to