File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / ps
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



ps                           Command                           ps




Print process status

ppss [ -aaffggllmmnnrrttwwxx ] [ -cc _s_y_s ] [ -kk _m_e_m ]

ps prints  information about a  process or processes.   It prints
the information  in fields, followed by the  command name and ar-
guments.  The fields include the following:

TTTTYY     The controlling terminal of the command, printed in short
        form.  ``44:'' means  /dev/tty44 and ``??:''  means there
        is no controlling terminal.

PPIIDD     Process id; necessary  to know when the  process is to be
        killed.

GGRROOUUPP   PID of the group leader of the process; the shell started
        up when the user logs in.

PPPPIIDD    PID of the parent of the process; very often a shell.

UUIIDD     User id or name of the owner.

KK       Size of the process in kilobytes.

FF       Process flag bits, as follows:
        PPFFCCOORREE  00001 Process is in core
        PPFFLLOOCCKK  00002 Process is locked in core
        PPFFSSWWIIOO  00004 Swap I/O in progress
        PPFFSSWWAAPP  00010 Process is swapped out
        PPFFWWAAIITT  00020 Process is stopped (not waited)
        PPFFSSTTOOPP  00040 Process is stopped (waited on)
        PPFFTTRRAACC  00100 Process is being traced
        PPFFKKEERRNN  00200 Kernel process
        PPFFAAUUXXMM  00400 Auxiliary segments in memory
        PPFFDDIISSPP  01000 Dispatch at earliest convenience
        PPFFNNDDMMPP  02000 Command mode forbids dump
        PPFFWWAAKKEE  04000 Wakeup requested


SS       State of the process, as follows:
        RR       Ready to run (waiting for CPU time)
        SS       Stopped for other reasons (I/O completion, pause, etc.)
        TT       Being traced by another process
        WW       Waiting for an existent child
        ZZ       Zombie (dead, but parent not waiting)


EEVVEENNTT   The condition which the process  is anticipating; not ap-
        plicable if the process is ready to run.

CCVVAALL SSVVAALL IIVVAALL RRVVAALL
        Scheduling information; bigger is better.




COHERENT Lexicon                                           Page 1




ps                           Command                           ps



UUTTIIMMEE   Time consumed while running in the program (in seconds).

SSTTIIMMEE   Time consumed while running in the system (in seconds).

Normally,  ps displays  the  TTY and  PID fields  of each  active
process started on the  caller's terminal, as well as the command
name and arguments.  The following flags can alter this behavior.

aa    Display  information about  processes started from  all ter-
     minals.

cc     The next  argument sys  gives  the system  executable image
     (default:  /coherent).  The namelist  is searched  for table
     addresses.

dd    Print information about status of loadable drivers.

ff    Blank  fields have  `-' place-holders.  This  enables field-
     oriented commands like sort and awk to process the output.

gg    Print the group leader field GROUP if the ll option is given.

ll    Long format.  In addition  to the TTY and PID fields, prints
     the PPID, UID, K, F, S and EVENT fields.

kk     The  next   argument  mem  is  the  memory  file  (default:
     /dev/mem).

mm    Print the scheduling fields CVAL, SVAL, IVAL and RVAL.

nn    Suppress the header line.

rr    Print the real size  of the process, which includes the user
     and auxiliary segments assigned to the process.  Because the
     user segment (usually 1 kilobyte) is shared by all processes
     owned by  that user, this  may give a  misleading total size
     for all the user's processes.

tt    Print elapsed CPU time fields UTIME and STIME.

ww    Wide format output; print 132 columns instead of 80.

xx    Display  processes which do not  have a controlling terminal
     (e.g. the swapper).

***** Files *****

/ccoohheerreenntt -- Default system file
/ddeevv/mmeemm -- Default memory file
/ddeevv/ttttyy* -- List of terminal names

***** See Also *****

commands, kill, mem, size, wait



COHERENT Lexicon                                           Page 2




ps                           Command                           ps



***** Notes *****

Each  process can  modify  or destroy  its command  name and  ar-
guments.  The state of the system changes even as ps runs.





















































COHERENT Lexicon                                           Page 3



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.