


      PS(1)                      (Bull-SPS9)                      PS(1)



      NAME
           ps - report process status

      SYNTAX
           ps [-als] [-t terminal [,terminal] ... ]

      DESCRIPTION
           Ps prints the status of processes. By default, ps shows the
           processes associated with the controlling terminal only.
           The process id, runtime, state, and command name are printed
           in the default form.

           -l   is a request for the long form, which also displays the
                PC, parent, number of page faults, priority, and kernel
                message waiting flag.

           -s   shows status of system processes, like drivers, memory
                managers, and disc managers.

           -a   shows the status of all processes.

           -t   shows the status of all processes associated with
                terminals in the list.  The list is separated from the
                option selections by a space.  The list elements are
                spearated by commas or the entire list may be enclosed
                in quotation marks.  Recognizable terminal names are:

                     nnn  /dev/ttynnn (eg: 3 is /dev/tty3)
                     ttynn     /dev/ttynn
                     dispn     /dev/dispn

                where n is a digit in the range 0 to 9.
                The long output form is:

                ProcessId PC   Parent    Runtime   Faults    Pri  State     Msg  Command
                ProcessId PC   Parent    Runtime   Faults    Pri  State     Msg  Command
                ProcessId PC   Parent    Runtime   Faults    Pri  State     Msg  Command
                 ...      ...  ...  ...       ...  ...  ...  ...  ...

                ProcessId is the unique process identifier.

                PC is the current value of the program counter.

                Parent is the process ID of this process' parent.

                Runtime is the CPU time used by this process, given in
                the form hours:minutes:seconds.1000ths-of-a-second.

                Faults is the number of page faults this process has
                incurred.

                Pri is the current execution priority of the process.



      Page 1                                          (73 A2 02MT REV1)






      PS(1)                      (Bull-SPS9)                      PS(1)



                State is:
                R    if the process is runnable (but is not necessarily
                in the queue for the CPU).
                S    if the process is suspended.
                F    if the process is faulted.

                Msg is the kernel message waiting flag:
                N    if no messages are waiting.
                Y    if a message is waiting.

                Command is the command name and first argument(s), or
                the filename of an open file manager process.


      EXAMPLE
                ps -lt "disp2,0 tty3"

           shows all processes associated with display 2, and terminals
           tty0 and tty3.

      BUGS
           The command arguments of PASCAL programs cannot be printed.
           PASCAL program names are printed only if the given PASCAL
           program lives in /bin, /usr/bin, or in the current working
           directory.  Open file managers can be found only in /tmp,
           /usr/tmp, or the working directory.

      SEE ALSO
           who(1), nice(1)

      FILES
           /ros
           /drivers
           /bin
           /usr/bin
           /etc/utmp



















      Page 2                                          (73 A2 02MT REV1)



