Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kill(1)

nice(1)



PS(1)                    DOMAIN/IX SYS5                     PS(1)



NAME
     ps - report process status

USAGE
     ps [ options ]

DESCRIPTION
     Ps prints certain information about active processes.
     Without options, it prints information about processes asso-
     ciated with the current user ID (except for pid 1, usually
     the display manager or server process manager).  The output
     consists of a short listing containing only the process ID,
     user ID, cumulative execution time, and the command name.
     Otherwise, ps controls the displayed information by the
     selection of options.

     Options using lists as arguments can have the list specified
     in one of two forms: a list of identifiers separated from
     one another by a comma, or a list of identifiers enclosed in
     double quotes and separated from one another by a comma
     and/or one or more spaces.

OPTIONS
     -e          Print information about all processes.

     -d          Print information about all processes, except
                 process group leaders.

     -a          Print information about all processes, except
                 process group leaders and processes not associ-
                 ated with a terminal.

     -f          Generate a full listing.  See below for the
                 meaning of columns in a full listing.

     -l          Generate a long listing. See below.

     -p proclist Restrict the listing to data about processes
                 whose process ID numbers are given in proclist.

     -u uidlist  Restrict the listing to data about processes
                 whose user ID numbers or log-in names are given
                 in uidlist.  In the listing, the numerical user
                 ID is printed unless the -f option is used, in
                 which case the log-in name is printed.

     -g grplist  Restrict listing to data about processes whose
                 process group leaders are given in grplist.

     -N          Print AEGIS process name.



Printed 12/4/86                                              PS-1







PS(1)                    DOMAIN/IX SYS5                     PS(1)



OUTPUT INTERPRETATION
     The column headings and the meaning of the columns in a ps
     listing are given below. The letters f and l indicate the
     option (full or long) that causes the corresponding heading
     to appear; all means that the heading always appears.  Note
     that these two options determine only what information is
     provided for a process; they do not determine which
     processes will be listed.


     F    (l)  Flags (octal and additive) associated with the
               process:

                    1    in memory

                    2    system process

                    20   being traced by another process


     S    (l)  The state of the process:

                    S    sleeping

                    W    waiting

                    R    running

                    T    stopped


     UID  (f,l)
               The user ID number of the process owner; the log-
               in name is printed under the -f option.

     PID  (all)
               The process ID of the process; you can kill a pro-
               cess if you know this datum.

     PPID (f,l)
               The process ID of the parent process.

     C    (f,l)
               Processor utilization for scheduling.

     PRI  (l)  The priority of the process; higher numbers mean
               lower priority.

     NI   (l)  Nice value; used in priority computation.




PS-2                                              Printed 12/4/86







PS(1)                    DOMAIN/IX SYS5                     PS(1)



     ADDR (l)  The memory address of the process, if resident;
               otherwise, the disk address.

     SZ   (l)  The size, in blocks, of the core image of the pro-
               cess.

     STIME     (f)
               Starting time of the process.

     TIME (all)
               The cumulative execution time for the process.

     CMD  (all)
               The command name; the full command name and its
               arguments are printed under the -f option.

CAUTIONS
     Data can change drastically while ps is running.  It is
     important to realize that the picture it presents at any
     given point is only a close approximation to reality.

     Some data printed for defunct processes are irrelevant.

RELATED INFORMATION
     kill(1), nice(1).




























Printed 12/4/86                                              PS-3





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