On Sun, Sep 18, 2011 at 04:28:28PM -0700, Philip Guenther wrote:
> If there are no objections, I'll commit this with the ps.1 diff reduced to:
...
> +.It Fl H
> +Also display information about kernel visible threads.
The distinction betwen "kernel threads" and "kernel visible
threads" is certainly
Having muttered a bunch, I'm in favor of this. One last comment:
On Wed, Aug 31, 2011 at 2:17 AM, Uwe Stuehler wrote:
> --- bin/ps/ps.1 6 Jul 2011 21:42:11 - 1.76
> +++ bin/ps/ps.1 31 Aug 2011 09:01:06 -
...
> +.It Fl H
> +Also display information about kernel visible process threa
On 1 September 2011 10:21, Uwe Stuehler wrote:
> If -k would become free for other uses, just for consideration:
> - in FreeBSD and Solaris, -k is unused
> - in NetBSD, -k specifies the sort order
> - in Linux' procps, "k" specifies the sort order
-k in AIX /usr/bin/ps is documented as "Lists ker
On Wed, Aug 31, 2011 at 11:50 PM, Philip Guenther wrote:
> As is -L, which is used for threads ("LWPs") by Solaris and FreeBSD.
B
>
> Part of me would be tempted to reuse -k, changing it from
> unsuppressing P_SYSTEM procs to unsuppressing P_THREAD procs. B Then
> process 0 would show up by defau
On Wed, Aug 31, 2011 at 2:23 PM, Mark Kettenis
wrote:
>> Is H the best letter? maybe t?
>
> It's what FreeBSD uses. And t and T are already taken.
As is -L, which is used for threads ("LWPs") by Solaris and FreeBSD.
Part of me would be tempted to reuse -k, changing it from
unsuppressing P_SY
> Date: Wed, 31 Aug 2011 16:38:41 -0400
> From: Ted Unangst
>
> On Wed, Aug 31, 2011, Uwe Stuehler wrote:
> > "Help! My Nagios checks failed." :)
> >
> > This fixes them by hiding kernel threads from ps output.
> >
> > I'd also like to show the main process ID in the PID column as
> > otherwise
On Wed, Aug 31, 2011, Uwe Stuehler wrote:
> "Help! My Nagios checks failed." :)
>
> This fixes them by hiding kernel threads from ps output.
>
> I'd also like to show the main process ID in the PID column as
> otherwise there is no way of knowing which threads belong together.
> Likely struct kin
- I missed usage(), pointed out by jmc
- Sq macro in man page
Index: bin/ps/ps.1
===
RCS file: /cvs/src/bin/ps/ps.1,v
retrieving revision 1.76
diff -u -p -r1.76 ps.1
--- bin/ps/ps.1 6 Jul 2011 21:42:11 - 1.76
+++ bin/ps/ps.1
"Help! My Nagios checks failed." :)
This fixes them by hiding kernel threads from ps output.
I'd also like to show the main process ID in the PID column as
otherwise there is no way of knowing which threads belong together.
Likely struct kinfo_proc would need a change for that... Maybe in
another