Ubuntu doesn't return all processes for "ps -e" so I guess there's
something deeply wrong with /proc.

brucee

On 12/04/2017 12:56 AM, "Mat Kovach" <m...@well.com> wrote:

>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.el...@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

Reply via email to