Re: [Toybox] ps -T

2017-11-01 Thread Rob Landley
On 10/19/2017 06:13 PM, enh wrote >> On 09/20/2017 05:08 PM, enh wrote: >>> ps -T doesn't really work if you have any filters. so ps -AT is fine, >>> but ps -p -T only shows the main thread. >> >> Alas, I don't personally use threads much so basically never test this. >> >>> why? because

Re: [Toybox] ps -T

2017-10-15 Thread Rob Landley
And this one was stuck in gmail's spam filter too. (Sorry for the delay, the down arrow on my keyboard came off. I have a new keyboard but swapping it out involves shutting this down and closing 6 desktops full of windows full of tabs. Working on it...) [Notices this email didn't get sent, while

Re: [Toybox] ps -T -o name

2016-05-04 Thread enh
On Wed, May 4, 2016 at 4:44 PM, Rob Landley wrote: > > > On 05/04/2016 03:55 PM, enh wrote: >> seems like a bug that if you use -o but don't include 'tid', -T becomes a >> no-op? >> >> ps -A -T | wc -l >> ps -A -T -o name | wc -l > > The way I implemented it, > > 1) If you

Re: [Toybox] ps -T -o name

2016-05-04 Thread Rob Landley
On 05/04/2016 03:55 PM, enh wrote: > seems like a bug that if you use -o but don't include 'tid', -T becomes a > no-op? > > ps -A -T | wc -l > ps -A -T -o name | wc -l The way I implemented it, 1) If you display tid, it fetches tid. 2) -T changes the default fields displayed. I'm happy to

Re: [Toybox] ps -t is cheating.

2015-10-22 Thread scsijon
On 10/22/2015 01:31 PM, Rob Landley wrote: On 10/20/2015 12:43 AM, lamiaworks wrote: Message: 1 Date: Mon, 19 Oct 2015 00:09:17 -0500 From: Rob Landley To: toybox@lists.landley.net Subject: [Toybox] ps -t is cheating. Message-ID: <56247afd.5050...@landley.net>

Re: [Toybox] ps -t is cheating.

2015-10-21 Thread Rob Landley
On 10/20/2015 12:43 AM, lamiaworks wrote: > >> Message: 1 >> Date: Mon, 19 Oct 2015 00:09:17 -0500 >> From: Rob Landley >> To: toybox@lists.landley.net >> Subject: [Toybox] ps -t is cheating. >> Message-ID: <56247afd.5050...@landley.net> >> Content-Type: text/plain;

Re: [Toybox] ps -t is cheating.

2015-10-21 Thread enh
On Wed, Oct 21, 2015 at 7:31 PM, Rob Landley wrote: > > > On 10/20/2015 12:43 AM, lamiaworks wrote: >> >>> Message: 1 >>> Date: Mon, 19 Oct 2015 00:09:17 -0500 >>> From: Rob Landley >>> To: toybox@lists.landley.net >>> Subject: [Toybox] ps -t is cheating. >>>

Re: [Toybox] ps -t is cheating.

2015-10-20 Thread Rob Landley
On 10/19/2015 11:40 PM, Isaac Dunham wrote: > On Mon, Oct 19, 2015 at 12:09:17AM -0500, Rob Landley wrote: >> So posix says this: >> >> -t termlist >> Write information for processes associated with terminals given in >> termlist. The application shall ensure that the termlist is a single >>

Re: [Toybox] ps -t is cheating.

2015-10-19 Thread Isaac Dunham
On Mon, Oct 19, 2015 at 12:09:17AM -0500, Rob Landley wrote: > So posix says this: > > -t termlist > Write information for processes associated with terminals given in > termlist. The application shall ensure that the termlist is a single > argument in the form of a or -separated list.