Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pst — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DSPST

9.0;pst (process_status), revision 9.0, 85/08/23
PST (PROCESS_STATUS) -- List process internal state information.
usage:  PST [-R seconds] [-N node_spec] [-UN] [-PA] [-C] [-TY]


FORMAT

  PST [options]


  PST  lists  internal state information for all processes in the system by name
  or UID.


OPTIONS

  -R[EPEAT] n        Repeat every n seconds.  If you include  this  option,  the
                     first  pass  displays  the total time elapsed since process
                     creation.   Subsequent  passes  display  changes  from  the
                     previous pass, as shown in the first example below.

  -N[ODE] node_spec
                     Specify remote node whose  process  statistics  are  to  be
                     listed.      See  HELP  NODE_SPEC  for  details  about node
                     specification syntax.

  -UN                Display DOMAIN/IX process IDs.

  -PA[GING]          Display  process  paging  information.    The  paging  data
                     presented  is private page faults, global page faults, disk
                     paging I/O, and network paging I/O.

  -C                 Display only brief information on level 2 (user) processes.
                     This  output  also  suppresses  the  header  lines  and the
                     processor time total.  See Example 5 below.

  -TY[PE]            Shows whether each process is  a  USER  process  (stops  at
                     logout),  a  SERVER process (started via -CPS), or an AEGIS
                     process (internal to the operating system).


EXAMPLES

  1. $ pst -r 20
     -----------------------------------------------------
     Processor |PRIORITY| Program|State|    Process
     Time (sec)|mn/cu/mx| Counter|     |     Name
     -----------------------------------------------------
        273.345 16/16/16    18088  Wait display_manager
        441.379  1/15/16 <active> Ready process_1
         68.086  1/16/16    17E90  Wait digital_clock
          7.531  1/14/16    17E90  Wait alarmer
          0.715  1/15/16    17C30  Wait mbx_helper
          0.715  1/15/16    17F78  Wait mail
          0.715  1/16/16    17F78  Wait shell
     ----------|
        792.489

      -----------------------------------------------------
     Processor |PRIORITY| Program|State|    Process
     Time (sec)|mn/cu/mx| Counter|     |     Name
     -----------------------------------------------------
          0.262 16/16/16    18088 Ready display_manager
          0.262  1/16/16 <active> Ready process_1
          0.262  1/15/16    17E90  Wait digital_clock
          0.000  1/14/16    17E90  Wait alarmer
          0.000  1/15/16    17C30  Wait mbx_helper
          0.000  1/15/16    17F78  Wait mail
          0.000  1/16/16    17F78  Wait shell
     ----------|
          0.786
                           .
                           .
                           .

  2. $ pst -n //eve                  Display stats of node "//eve".
     -----------------------------------------------------
     Processor |PRIORITY| Program|State|    Process
     Time (sec)|mn/cu/mx| Counter|     |     Name
     -----------------------------------------------------
       1016.261 16/16/16    18088  Wait display_manager
          7.269  1/ 2/16    17C30  Wait netman
          4.385  1/15/16    17C30  Wait mbx_helper
         10.939  1/16/16    17F78  Wait server_process_manager
     ----------|
       1038.855

  3. $ pst -un
     -----------------------------------------------------------------------
     Processor |PRIORITY| Program|State|UNIX INFORMATION |    Process
     Time (sec)|mn/cu/mx| Counter|     | PID | PPID| PGID|     Name
     -----------------------------------------------------------------------
       1016.261 16/16/16    18088  Wait     1     0     1 display_manager
          7.269  1/ 2/16    17C30  Wait    23     1    23 netman
          4.385  1/15/16    17C30  Wait    24     1    24 mbx_helper
         10.939  1/15/16    17F78  Wait    26     1    26 server_process_manager
     ----------|
       1038.855

  4. $ pst -pa
      --------------------------------------------------------------------------
      Processor |PRIORITY| Program|State|Private| Global|D I S K| N E T| Process
      Time (sec)|mn/cu/mx| Counter|     | Faults| Faults|Page IO|PageIO|  Name
      --------------------------------------------------------------------------
        288.549 16/16/16   18088   Wait    2168   783    0  4180 display_manager
        444.001  1/15/16 <active>  Ready   6284  1557    0 11097 process_1
          7.793  1/15/16    17E90  Wait     279   120    0   436 alarmer
          0.715  1/15/16    17C30  Wait      36     6    0    84 mbx_helper
          1.502  1/16/16    17F78  Wait     104    51    0   175 mail
          0.715  1/16/16    17F78  Wait      44    22    0    74 shell
      ----------|                       |-------|------|-----|-----|
        815.296                            9039    2565   0   16197

  5. $ pst -c
     1433.801  16/16/16      1F6A2    Wait   display_manager
       20.293   3/13/14      1F192    Wait   netman
        4.658   3/13/14      1F192    Wait   mbx_helper
       69.609   3/ 6/14     475BE8   Ready   base_shell
       37.487   3/10/14      1F352    Wait   alarm_server

  6. $ pst -ty
     --------------------------------------------------------------------
     Node:  BAD1
     Time:  Monday, August 26, 1985   2:23:06 pm (EDT)
     --------------------------------------------------------------------
      Processor | PRIORITY |  Program | State |  Type  |   Process Name
      Time (sec)| mn/cu/mx |  Counter |       |        |
     --------------------------------------------------------------------
      563587.995  -- -- --   --------   -----    aegis   <Null Process>
        4189.242  -- -- --   --------   -----    aegis   <Aegis Processes>
       15597.507  16/16/16      1F6A2    Wait     user   display_manager
         958.367   3/ 3/14      1F602    Wait     user   process_31
           4.633   3/14/14      1F192    Wait   server   mbx_helper
         215.347   3/14/14      1F602    Wait     user   alarm_server
         658.725   3/13/14      1F44A    Wait     user   clock
         933.019   3/ 9/14   <active>   Ready     user   process_34
         370.728   3/ 3/14      1F602    Wait     user   process_36
     -----------
      586515.828


RELATED TOPICS

  More information is available.  Type:

  - HELP DSPST
   for information on displaying process status in a graphical format.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026