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
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
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.
why? because slots[SLOT_pid] is "wrong" in shared_match_process (where
by wrong i mean "is the tid").
why? because toybox reads (say) /proc/147047/task/147058/stat and sees
147058
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
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
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 <r...@landley.net>
To: toybox@lists.landley.net
Subject: [Toybox] ps -t is cheating.
Message-ID: <56247afd.5050...@landley.net
On 10/20/2015 12:43 AM, lamiaworks wrote:
>
>> Message: 1
>> Date: Mon, 19 Oct 2015 00:09:17 -0500
>> From: Rob Landley <r...@landley.net>
>> To: toybox@lists.landley.net
>> Subject: [Toybox] ps -t is cheating.
>> Message-ID: <56247afd.5050...@l
On Wed, Oct 21, 2015 at 7:31 PM, Rob Landley <r...@landley.net> wrote:
>
>
> On 10/20/2015 12:43 AM, lamiaworks wrote:
>>
>>> Message: 1
>>> Date: Mon, 19 Oct 2015 00:09:17 -0500
>>> From: Rob Landley <r...@landley.net>
>>> To: t
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
>>
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.
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. Terminal
identifiers shall be given in an implementation-defined format.
11 matches
Mail list logo