Subject: Re: proposal for new ps(1) option -H
To: None <tech-userlevel@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-userlevel
Date: 09/07/2007 01:06:40
On Thu, 06 Sep 2007, Jan Kryl wrote:
> If we had -H option, it would be:
> 
>  $ ps axHo pid,lid,command

If -o and -s options worked nicely together, it would be

   $ ps -axs -o pid,lid,command

I'd prefer to work on making "-o" play nicely with "-s" rather than
adding a "-H" option.  My idea is:  if you use "-s" without explicitly
selecting a set of columns, then it works as at present; if you
explicitly select a set of columns with "-o", then that overrides the
default columns that "-s" would otherwise have selected; and if you use
"-O" then it augments the set of columns that "-s" selected.

--apb (Alan Barrett)