Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Filter grep output of 'ps aux'
Date: Fri, 02 Mar 2012 17:58:17
Message-Id: CAA2qdGWDt7eA3bNvTm7bNVAOK0b=aVf_i1mp1yZ3XCtnoSfDgg@mail.gmail.com
In Reply to: [gentoo-user] Filter grep output of 'ps aux' by Tanstaafl
1 On Mar 3, 2012 12:49 AM, "Tanstaafl" <tanstaafl@×××××××××××.org> wrote:
2 >
3 > Does anyone know if there is a way to filter the output of ps aux to show
4 only lines that have a value in the %CPU column higher than x - ie, 1.0, or
5 2.0, or something like that?
6 >
7 > Thanks
8 >
9
10 For that, you need awk instead of grep.
11
12 Rgds,

Replies

Subject Author
Re: [gentoo-user] Filter grep output of 'ps aux' Tanstaafl <tanstaafl@×××××××××××.org>