* [9fans] ps bug
@ 2017-04-11 6:54 Bruce Ellis
2017-04-11 7:21 ` Sergey Zhilkin
2017-04-11 14:56 ` Mat Kovach
0 siblings, 2 replies; 9+ messages in thread
From: Bruce Ellis @ 2017-04-11 6:54 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 95 bytes --]
using plan9ports' "ps -e" does not print all processes. dirread /proc fun I
guess.
brucee
[-- Attachment #2: Type: text/html, Size: 166 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] ps bug
2017-04-11 6:54 [9fans] ps bug Bruce Ellis
@ 2017-04-11 7:21 ` Sergey Zhilkin
2017-04-11 7:34 ` Sergey Zhilkin
2017-04-11 7:51 ` Bruce Ellis
2017-04-11 14:56 ` Mat Kovach
1 sibling, 2 replies; 9+ messages in thread
From: Sergey Zhilkin @ 2017-04-11 7:21 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
Seems ps (shell script from hell) uses plan9port sort. And coreutils sort
do not undarstand +1 parameter.
Try to place plan9port path before any other.
2017-04-11 9:54 GMT+03:00 Bruce Ellis <bruce.ellis@gmail.com>:
> using plan9ports' "ps -e" does not print all processes. dirread /proc fun
> I guess.
>
> brucee
>
>
--
С наилучшими пожеланиями
Жилкин Сергей
With best regards
Zhilkin Sergey
[-- Attachment #2: Type: text/html, Size: 928 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] ps bug
2017-04-11 7:21 ` Sergey Zhilkin
@ 2017-04-11 7:34 ` Sergey Zhilkin
2017-04-11 7:51 ` Bruce Ellis
1 sibling, 0 replies; 9+ messages in thread
From: Sergey Zhilkin @ 2017-04-11 7:34 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
Also, on Linux (OpenSUSE 42.2) i have same output of p9p ps -e and ps ax in
line count
2017-04-11 10:21 GMT+03:00 Sergey Zhilkin <szhilkin@gmail.com>:
> Seems ps (shell script from hell) uses plan9port sort. And coreutils sort
> do not undarstand +1 parameter.
>
> Try to place plan9port path before any other.
>
> 2017-04-11 9:54 GMT+03:00 Bruce Ellis <bruce.ellis@gmail.com>:
>
>> using plan9ports' "ps -e" does not print all processes. dirread /proc fun
>> I guess.
>>
>> brucee
>>
>>
>
>
> --
> С наилучшими пожеланиями
> Жилкин Сергей
> With best regards
> Zhilkin Sergey
>
--
С наилучшими пожеланиями
Жилкин Сергей
With best regards
Zhilkin Sergey
[-- Attachment #2: Type: text/html, Size: 1698 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] ps bug
2017-04-11 7:21 ` Sergey Zhilkin
2017-04-11 7:34 ` Sergey Zhilkin
@ 2017-04-11 7:51 ` Bruce Ellis
2017-04-11 11:57 ` Sergey Zhilkin
1 sibling, 1 reply; 9+ messages in thread
From: Bruce Ellis @ 2017-04-11 7:51 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
Doesn't help.
brucee
On 11 April 2017 at 17:21, Sergey Zhilkin <szhilkin@gmail.com> wrote:
> Seems ps (shell script from hell) uses plan9port sort. And coreutils sort
> do not undarstand +1 parameter.
>
> Try to place plan9port path before any other.
>
> 2017-04-11 9:54 GMT+03:00 Bruce Ellis <bruce.ellis@gmail.com>:
>
>> using plan9ports' "ps -e" does not print all processes. dirread /proc fun
>> I guess.
>>
>> brucee
>>
>>
>
>
> --
> С наилучшими пожеланиями
> Жилкин Сергей
> With best regards
> Zhilkin Sergey
>
[-- Attachment #2: Type: text/html, Size: 1444 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] ps bug
2017-04-11 7:51 ` Bruce Ellis
@ 2017-04-11 11:57 ` Sergey Zhilkin
0 siblings, 0 replies; 9+ messages in thread
From: Sergey Zhilkin @ 2017-04-11 11:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
Hmm checked twice
zhilkin@szhilkin:~/Work/Mem> ps ax | wc -l
350
szhilkin@szhilkin:~/Work/Mem> 9 ps -e | wc -l
350
2017-04-11 10:51 GMT+03:00 Bruce Ellis <bruce.ellis@gmail.com>:
> Doesn't help.
>
> brucee
>
> On 11 April 2017 at 17:21, Sergey Zhilkin <szhilkin@gmail.com> wrote:
>
>> Seems ps (shell script from hell) uses plan9port sort. And coreutils sort
>> do not undarstand +1 parameter.
>>
>> Try to place plan9port path before any other.
>>
>> 2017-04-11 9:54 GMT+03:00 Bruce Ellis <bruce.ellis@gmail.com>:
>>
>>> using plan9ports' "ps -e" does not print all processes. dirread /proc
>>> fun I guess.
>>>
>>> brucee
>>>
>>>
>>
>>
>> --
>> С наилучшими пожеланиями
>> Жилкин Сергей
>> With best regards
>> Zhilkin Sergey
>>
>
>
--
С наилучшими пожеланиями
Жилкин Сергей
With best regards
Zhilkin Sergey
[-- Attachment #2: Type: text/html, Size: 2327 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] ps bug
2017-04-11 6:54 [9fans] ps bug Bruce Ellis
2017-04-11 7:21 ` Sergey Zhilkin
@ 2017-04-11 14:56 ` Mat Kovach
[not found] ` <CAJDwFdiodCrtJr9=146C268u99b3vh=f6xK5yCK_HeYTTpqJCQ@mail.gmail.com>
1 sibling, 1 reply; 9+ messages in thread
From: Mat Kovach @ 2017-04-11 14:56 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
>From the man page:
=$ man ps
PS(1) PS(1)
NAME
ps, psu - process status
SYNOPSIS
ps [ -pa ]
psu [ -pa ] [ user ]
[snip]
With the -p flag, ps also prints, after the system time, the
baseline and current priorities of each process.
The -a flag causes ps to print the arguments for the pro-
cess. Newlines in arguments will be translated to spaces
for display.
plan9port's ps does not have a '-e' option, if given it is ignore.
Checking the script, ps uses the os version of ps and the arguments -axww
From: "Bruce Ellis" <bruce.ellis@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Sent: Tuesday, April 11, 2017 2:54:07 AM
Subject: [9fans] ps bug
using plan9ports' "ps -e" does not print all processes. dirread /proc fun I guess.
brucee
[-- Attachment #2: Type: text/html, Size: 1729 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-04-12 4:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-11 6:54 [9fans] ps bug Bruce Ellis
2017-04-11 7:21 ` Sergey Zhilkin
2017-04-11 7:34 ` Sergey Zhilkin
2017-04-11 7:51 ` Bruce Ellis
2017-04-11 11:57 ` Sergey Zhilkin
2017-04-11 14:56 ` Mat Kovach
[not found] ` <CAJDwFdiodCrtJr9=146C268u99b3vh=f6xK5yCK_HeYTTpqJCQ@mail.gmail.com>
[not found] ` <CAJDwFdgeiMVxvkTv8y55bP+11wWR4JKjndCem+XGSX7qsQcVyA@mail.gmail.com>
2017-04-12 3:16 ` Prof Brucee
2017-04-12 3:31 ` Winston Kodogo
[not found] ` <CAJDwFdihshU+WA2p6hE10C5H03CRKen_G5E5zRT6U6a10WdKzQ@mail.gmail.com>
[not found] ` <CAJDwFdi97aQeC-EvFt-fsUkgxF-2JfPWMQV_6ChmRh_74a9+MA@mail.gmail.com>
2017-04-12 4:03 ` Prof Brucee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).