Subject: Re: sorting ps output
To: None <>
From: Christos Zoulas <>
List: tech-userlevel
Date: 03/04/2003 17:30:41
In article <>,
David Laight <> wrote:
>I would like to add some code to allow 'ps' output to be sorted on
>(almost) any field.  The code is easy, but there are no obvious
>option letters left :-(
>The obvious one 's' was only used recently, and isn't ideal for
>its use anyway (listing all lwps on a process).
>Would it cause significant grief if that were changed to something else?
>Then we can have:
>$ ps -stime
>to sort by 'time' (etc), sharing some code with -o (etc).
>Code below implements it - but is using -z ('cos it was unused).

I like it, but what letter do you propose for listing all lwps on a process?