Re: ps axH per-thread usage times

2012-04-12 Thread Paul Irofti
Now with libkvm bits as well. Okay? Index: sys/sys/sysctl.h === RCS file: /cvs/src/sys/sys/sysctl.h,v retrieving revision 1.122 diff -u -p -r1.122 sysctl.h --- sys/sys/sysctl.h10 Apr 2012 15:50:52 - 1.122 +++ sys/sys/sys

Re: ps axH per-thread usage times

2012-04-11 Thread Paul Irofti
> From piro...@cvs.openbsd.org Wed Apr 11 08:36:38 2012 > Date: Wed, 11 Apr 2012 08:36:38 -0600 (MDT) > From: Paul Irofti > To: guent...@gmail.com, piro...@cvs.openbsd.org > Subject: Re: ps axH per-thread usage times > Cc: tech@openbsd.org > > Updated the diff and incl

Re: ps axH per-thread usage times

2012-04-11 Thread Paul Irofti
Updated the diff and included the ps(1) and top(1) bits. Index: sys/kern/kern_sysctl.c === RCS file: /cvs/src/sys/kern/kern_sysctl.c,v retrieving revision 1.219 diff -u -p -r1.219 kern_sysctl.c --- sys/kern/kern_sysctl.c 10 Apr

Re: ps axH per-thread usage times

2012-04-11 Thread Philip Guenther
On Wed, Apr 11, 2012 at 6:37 AM, Paul Irofti wrote: > This displayes usage times per thread. > > For the main thread it displays the total time (as it did in the past) > and puts marks the TID as -1. Chatting about this we've agreed that with the -H flag, ps (and top) should only show the lines f

ps axH per-thread usage times

2012-04-11 Thread Paul Irofti
This displayes usage times per thread. For the main thread it displays the total time (as it did in the past) and puts marks the TID as -1. Okay? Should I expand the manpage bits for ps(1)? Currently it says: .It Fl H Also display information about kernel visible threads. EXAMPLE --