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