


      PPPPSSSS((((1111))))                        ((((RRRRiiiiddddggggeeee))))                        PPPPSSSS((((1111))))



      NNNNAAAAMMMMEEEE
           ps - report process status

      SSSSYYYYNNNNTTTTAAAAXXXX
           ppppssss [-als] [-t _t_e_r_m_i_n_a_l [,_t_e_r_m_i_n_a_l] ... ]

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

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

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

           ----aaaa   shows the status of all processes.

           ----tttt   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:

                     _n_n_n  /dev/tty_n_n_n (eg: 3 is /dev/tty3)
                     tty_n_n     /dev/tty_n_n
                     disp_n     /dev/disp_n

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

                PPPPrrrroooocccceeeessssssssIIIIdddd PPPPCCCC   PPPPaaaarrrreeeennnntttt    RRRRuuuunnnnttttiiiimmmmeeee   FFFFaaaauuuullllttttssss    PPPPrrrriiii  SSSSttttaaaatttteeee     MMMMssssgggg  CCCCoooommmmmmmmaaaannnndddd
                _P_r_o_c_e_s_s_I_d _P_C   _P_a_r_e_n_t    _R_u_n_t_i_m_e        _F_a_u_l_t_s    _P_r_i  _S_t_a_t_e     _M_s_g_C_o_m_m_a_n_d
                _P_r_o_c_e_s_s_I_d _P_C   _P_a_r_e_n_t    _R_u_n_t_i_m_e        _F_a_u_l_t_s    _P_r_i  _S_t_a_t_e     _M_s_g_C_o_m_m_a_n_d
                 ...      ...  ...  ...       ...  ...  ...  ...  ...

                _P_r_o_c_e_s_s_I_d is the unique process identifier.

                _P_C is the current value of the program counter.

                _P_a_r_e_n_t is the process ID of this process' parent.

                _R_u_n_t_i_m_e is the CPU time used by this process, given in
                the form _h_o_u_r_s::::_m_i_n_u_t_e_s::::_s_e_c_o_n_d_s...._1_0_0_0_t_h_s-_o_f-_a-_s_e_c_o_n_d.

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

                _P_r_i is the current execution priority of the process.



      Page 1                                                   (9010-E)






      PPPPSSSS((((1111))))                        ((((RRRRiiiiddddggggeeee))))                        PPPPSSSS((((1111))))



                _S_t_a_t_e is:
                RRRR    if the process is runnable (but is not necessarily
                in the queue for the CPU).
                SSSS    if the process is suspended.
                FFFF    if the process is faulted.

                _M_s_g is the kernel message waiting flag:
                NNNN    if no messages are waiting.
                YYYY    if a message is waiting.

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


      EEEEXXXXAAAAMMMMPPPPLLLLEEEE
                ps -lt "disp2,0 tty3"

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

      BBBBUUUUGGGGSSSS
           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 ////ttttmmmmpppp,
           ////uuuussssrrrr////ttttmmmmpppp, or the working directory.

      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           who(1), nice(1)

      FFFFIIIILLLLEEEESSSS
           /ros
           /drivers
           /bin
           /usr/bin
           /etc/utmp



















      Page 2                                                   (9010-E)



