Subject: Re: sorting ps output
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 03/04/2003 17:30:41
In article <20030304172512.H3346@snowdrop.l8s.co.uk>,
David Laight <david@l8s.co.uk> 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?

christos