From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Filter grep output of 'ps aux'
Date: Fri, 2 Mar 2012 12:02:32 -0600 [thread overview]
Message-ID: <CAEH5T2Pqfr2S3BOOkuCA=G3e3V7xYEp34-Y9OrsejpOXBW2cBA@mail.gmail.com> (raw)
In-Reply-To: <4F51076A.9020403@libertytrek.org>
On Fri, Mar 2, 2012 at 11:46 AM, Tanstaafl <tanstaafl@libertytrek.org> 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 } }'
next prev parent reply other threads:[~2012-03-02 18:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 17:46 [gentoo-user] Filter grep output of 'ps aux' Tanstaafl
2012-03-02 17:56 ` Pandu Poluan
2012-03-02 18:03 ` Tanstaafl
2012-03-02 18:12 ` Jason
2012-03-02 18:32 ` Tanstaafl
2012-03-02 19:33 ` Paul Hartman
2012-03-02 20:39 ` Tanstaafl
2012-03-02 20:50 ` Paul Hartman
2012-03-02 21:23 ` Tanstaafl
2012-03-02 21:52 ` Paul Hartman
2012-03-03 13:00 ` Tanstaafl
2012-03-02 18:02 ` Paul Hartman [this message]
2012-03-02 18:12 ` Tanstaafl
2012-03-02 18:30 ` Alan McKinnon
2012-03-02 18:24 ` Pandu Poluan
2012-03-02 19:32 ` Paul Hartman
2012-03-02 19:40 ` [gentoo-user] " Grant Edwards
2012-03-03 2:16 ` Pandu Poluan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEH5T2Pqfr2S3BOOkuCA=G3e3V7xYEp34-Y9OrsejpOXBW2cBA@mail.gmail.com' \
--to=paul.hartman+gentoo@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox