1 |
On 2012-03-02 12:56 PM, Pandu Poluan <pandu@××××××.info> wrote: |
2 |
> |
3 |
> On Mar 3, 2012 12:49 AM, "Tanstaafl" <tanstaafl@×××××××××××.org |
4 |
> <mailto:tanstaafl@×××××××××××.org>> wrote: |
5 |
> > |
6 |
> > Does anyone know if there is a way to filter the output of ps aux to |
7 |
> show only lines that have a value in the %CPU column higher than x - ie, |
8 |
> 1.0, or 2.0, or something like that? |
9 |
> > |
10 |
> > Thanks |
11 |
> > |
12 |
> |
13 |
> For that, you need awk instead of grep. |
14 |
|
15 |
Never used awk... any chance you (or someone) could provide an example |
16 |
of how to do this? |
17 |
|
18 |
Also - would there be a way to get a running output (kind of like |
19 |
tailing a log)? |