1 Systat
 (21-Jul-86)

 The SYSTAT command prepares a report on the current state of a selected
 group of processes.

 Format:

      SYSTAT [username[,...]]

 Normally, SYSTAT only allows you to look at jobs that are owned by your
 UIC.   If your process can enable the WORLD privilege, you will be able
 to look at any process currently running on the system.
2 Parameters
username[,username[,...]]

 Specifies a user name (or list of names) to search  for.   If  no  user
 name  is  specified,  SYSTAT  will  show  all  processes that match the
 process class qualifiers (/ALL, /BATCH,  /LOGGED_IN,  etc.).   Wildcard
 characters (%,*) may be used in user name strings.
2 Command_Qualifiers
/ALL

 /ALL

 Selects all processes that are running on the system.
/BATCH

 /BATCH
 /NOBATCH [D]

 Selects all processes running in BATCH mode.
/BLURB

 /BLURB [D]
 /NOBLURB

 Controls the "VAX/VMS System Status" line.
/FULL

 /FULL

 When this qualifier is used, every column of information  available  is
 displayed.   /NOFULL turns all columns of output off, resulting in only
 the header and some blank lines of output.
/HEADER

 /HEADER [D]
 /NOHEADER

 Controls the display of system-wide information.  /NOHEADER  turns  off
 all of the system-wide status header at the beginning of the output.
/INTERACTIVE

 /INTERACTIVE
 /NOINTERACTIVE [D]

 Selects all processes running in INTERACTIVE mode.
/NETWORK

 /NETWORK
 /NONETWORK [D]

 Selects all processes running in NETWORK mode.
/OTHER

 /OTHER
 /NOOTHER [D]

 Selects all processes running in a mode other than INTERACTIVE,  BATCH,
 or NETWORK.
/OUTPUT

 /OUTPUT=filename

 Overrides the default output file specification for  the  command.   By
 default, the output file is SYS$OUTPUT.
/REVERSE

 /REVERSE
 /NOREVERSE [D]

 Reverses the sense of any sorting applied to the output.
/SORT

 /SORT[=item-name] [D]
 /NOSORT

 Selects the column by which the output is to be  sorted.   By  default,
 the output is sorted by user name.
/TITLES

 /TITLES [D]
 /NOTITLES

 Controls the display of column titles in the output.
/SUMMARY

 /SUMMARY [D]
 /NOSUMMARY

 Controls the display of a by-class breakdown of all running processes.

 NOTE:  If your process cannot enable the WORLD privilege, you will only
 see a count of privileges that are owned by your UIC.
/UPTIME

 /UPTIME [D]
 /NOUPTIME

 Displays a line of system information including  the  operating  system
 version,  the  cluster  node name, and how long the system has been up.
 On the University of Texas at  Austing  Instructional  VAXcluster,  the
 uptime  line  also  contains  the  system  1-,  5-, and 15- minute load
 averages, as published by the  load  average  program,  in  the  system
 logical  SYS$LOAD.  If SYS$LOAD does not exist, this part of the uptime
 line is left blank.
/LOGGED_IN

 /LOGGED_IN [D]
 /NOLOGGED_IN

 Selects all interactive processes currently associated with a  terminal
 device.   This  class  reflects  the  number of people logged on to the
 system.
2 Item_Qualifiers
 The items  below  specify  particular  columns  of  information  to  be
 displayed.

/USER

 /USER [D]
 /NOUSER

 Displays the user name of the owner of each selected process.

/PROCESS

 /PROCESS [D]
 /NOPROCESS

 Displays the process name of each selected process.

/PROGRAM

 /PROGRAM [D]
 /NOPROGRAM

 Displays the file  name  of  the  image  currently  executing  in  each
 selected process.

/PID

 /PID [D]
 /NOPID

 Displays the process identification number of each selected process.

/UIC

 /UIC
 /NOUIC [D]

 Displays the User Identification Code  of  each  selected  process,  in
 identifier format if possible.

/TERMINAL

 /TERMINAL [D]
 /NOTERMINAL

 Displays the terminal device associated  with  each  selected  process.
 This field will be blank for most non-user processes.

/LOGINTIM

 /LOGINTIM [D]
 /NOLOGINTIM

 Displays the time at which each selected process began running.  In the
 case  of user processes (those associated with a "real" terminal), this
 is the time the user logged in.

/CPUTIM

 /CPUTIM [D]
 /NOCPUTIM

 Displays accumulated process CPU time for  each  selected  process,  in
 hours, minutes and seconds.

/STATE

 /STATE
 /NOSTATE [D]

 Displays the current execution state (COM, LEF,  HIB,  etc.)  for  each
 selected process.

/MODE

 /MODE
 /NOMODE [D]

 Displays the process execution mode (INTERACTIVE,  BATCH,  NETWORK,  or
 OTHER) for each selected process.

/PAGEFLTS

 /PAGEFLTS
 /NOPAGEFLTS [D]

 Displays accumulated page fault count for each selected process.

/PRIORITY

 /PRIORITY
 /NOPRIORITY [D]

 Displays the current priority for each selected process.

/WSSIZE

 /WSSIZE
 /NOWSSIZE [D]

 Displays the current working set size for each selected process.

/WSPEAK

 /WSPEAK
 /NOWSPEAK [D]

 Displays the peak working set size for each selected process.
2 Process_Class                                                 

 The following command qualifiers determine which class(es) of processes
 are  displayed in the output.  By default, the class of processes which
 are  associated  with  user  terminals  (i.e.   logged-in   users)   is
 displayed.

 /ALL

 Selects all processes currently running on the system.

 /LOGGEDIN [D]
 /NOLOGGEDIN

 Selects all interactive processes currently associated with a  terminal
 device.   This  class  reflects  the  number of people logged on to the
 system.

 /INTERACTIVE
 /NOINTERACTIVE [D]

 Selects processes running in interactive mode.  This is not exactly the
 same  as all logged-in users, because some users may have more than one
 interactive process.

 /BATCH
 /NOBATCH [D]

 Selects processes running in batch mode.

 /NETWORK
 /NONETWORK [D]

 Selects processes running in network mode.

 /OTHER
 /NOOTHER [D]

 Selects processes whose  modes  are  none  of  INTERACTIVE,  BATCH,  or
 NETWORK
2 Header_Qualifiers

 The following qualifiers specify  the  format  of  the  header  printed
 before  the  columns of process information.  By default, every line of
 header information is displayed.

 /HEADER [D]
 /NOHEADER

 Specifies that certain lines of information  be  displayed  before  the
 processes  themselves.   /NOHEADER  turns the entire header off, useful
 for programs that further manipulate the output from SYSTAT.   An  easy
 way to get only one particular line from the header is to use /NOHEADER
 and then select the line you want.  For example, /NOHEADER/BLURB  gives
 only the "VAX/VMS System Status" and date lines.

 /BLURB [D]
 /NOBLURB

 /BLURB controls the "VAX/VMS System Status" and the date line.

 /UPTIME [D]
 /NOUPTIME

 /UPTIME controls the operating system identification and uptime  status
 line.

 /SUMMARY [D]
 /NOSUMMARY

 /SUMMARY gives a  class-by-class  breakdown  of  the  total  number  of
 processes currently running on the system.

 NOTE:  If your process cannot enable the WORLD privilege, you will only
 see  the  privileges  owned  by  your  UIC.  Use the SHOW USERS or SHOW
 SYSTEM commands to see  more  information  about  other  processes  and
 users.

 /TITLES [D]
 /NOTITLES

 /TITLES controls the display of column names in the output.
2 Output_Qualifiers

 /OUTPUT=filename

 Overrides the default output file for the command.  The default  output
 file is SYS$OUTPUT (normally the terminal).
2 Sorting_Qualifiers
3 /SORT
 /SORT[=item-name]
 /NOSORT

 Selects which item to sort by.  /NOSORT causes SYSTAT to not  sort  the
 processes  before  output.   By  default,  the  processes displayed are
 sorted by user name.

 For example, /SORT=PROCESS specifies  that  the  processes  are  to  be
 sorted  by  process  name, in ascending alphabetic order.  Alphanumeric
 fields (e.g.  user, process) are sorted from least to  greatest,  while
 numeric fields (pid, login) are sorted from greatest to least.
4 USER

 Sorts the selected processes by user name.
4 PROCESS

 Sorts the selected processes by process name.
4 PROGRAM

 Sorts the selected processes by the names of the images currently being
 executed in them.
4 PID

 Sorts the selected processes by process identification number.
4 LOGINTIM

 Sorts the selected processes by creation time.
4 CPUTIM

 Sorts the selected processes by accumulated CPU time.
4 STATE

 Sorts the selected processes by process state (LEF, HIB, COM, etc.).
4 MODE

 Sorts the selected processes by  execution  mode  (INTERACTIVE,  BATCH,
 etc.)
4 PAGEFLTS

 Sorts the selected processes by accumulated page faults.
4 PRI

 Sorts the selected processes by current priority
4 WSSIZE

 Sorts the selected processes by current working set size
4 WSPEAK

 Sorts the selected processes by peak working set size.
3 /REVERSE
 /REVERSE

 Reverses the sense of any sorting applied to the list of processes.
2 Defaults

 The default systat display is equivalent to the command

 SYSTAT/HEAD/LOGGED/USER/PROCESS/PROGRAM/PID/TERMINAL/LOGIN/CPUTIM
2 Examples

 To get a full listing of everything available on every process you  are
 authorized to look at, type

         SYSTAT/ALL/FULL

 NOTE:   The  following  examples  assume  you  can  enable  the   WORLD
 privilege.

 If you want to see how  many  page  faults  processes  owned  by  users
 ABCD001 and WXYZ002 have generated, type

         SYSTAT/ALL/PAGEFAULTS ABCD001,XYZ002


 Finally, if you want to see how everybody whose user name  starts  with
 CSHG is doing, type

         SYSTAT CSHG*
