1 |
On Fri, 02 Mar 2012 13:12:04 -0500 |
2 |
Tanstaafl <tanstaafl@×××××××××××.org> wrote: |
3 |
|
4 |
> On 2012-03-02 1:02 PM, Paul Hartman <paul.hartman+gentoo@×××××.com> |
5 |
> wrote: |
6 |
> > On Fri, Mar 2, 2012 at 11:46 AM, |
7 |
> > Tanstaafl<tanstaafl@×××××××××××.org> wrote: |
8 |
> >> > Does anyone know if there is a way to filter the output of ps |
9 |
> >> > aux to show only lines that have a value in the %CPU column |
10 |
> >> > higher than x - ie, 1.0, or 2.0, or something like that? |
11 |
> > ps aux | gawk '{ if ( $3> 1.0 ) { print } }' |
12 |
> |
13 |
> Thanks Paul! Thats a huge help... |
14 |
> |
15 |
> Now if I could just get a constantly updated output of this (like |
16 |
> tailing a live log), I'd be in heaven... ;) |
17 |
> |
18 |
> But if this is the best I can do, it is 1000 times better... |
19 |
> |
20 |
|
21 |
try "watch" |
22 |
|
23 |
-- |
24 |
Alan McKinnnon |
25 |
alan.mckinnon@×××××.com |