1 02/28/85  traffic_control_queue, tcq
  2 
  3 Syntax as a command:  tcq {-control_arg}
  4 
  5 
  6 Function:  prints out the state of the traffic control queue at the
  7 time of the call.
  8 
  9 
 10 Control arguments:
 11  -all
 12    print information about all processes.  The default is to print
 13    information only for processes in ready queues.
 14 
 15 
 16 Access required:  This command requires access to phcs_ or
 17 metering_gate_.
 18 
 19 
 20 Notes:  The following items are printed out by the
 21 traffic_control_queue command.
 22 avq
 23    is the average number of processes in the eligible and priority
 24    queues.  This is the average number of ready, waiting, or running
 25    processes.
 26 elapsed time
 27    is the time since traffic_control_queue was last called.  This
 28    equals 0 if it is the first time the program was called for the
 29    given process.
 30 active last 15 sec.
 31    is the number of processes that changed state during the last 15
 32    seconds.
 33 
 34 
 35    The following items are printed out for each user presently in the
 36    ready queue.
 37 flags
 38    are one-bit indicators in the active process table (APT) entry for
 39    the user.
 40 
 41 The following flags are printed.
 42       E  process is eligible
 43       W  Interprocess Communication (IPC) wakeup pending
 44       S  stop pending
 45       P  process being preempted
 46       L  process is loaded
 47       D  process has descriptor base register loaded
 48       H  process is a hardcore process
 49       I  process is an idle process
 50 
 51 
 52 The flags are preceded by a letter indicating the state of the process.
 53 The allowed states are.
 54 
 55       e  empty or unused
 56       x  running
 57       r  ready
 58       w  waiting
 59       b  blocked
 60       s  stopped
 61       p  waiting for page table lock
 62 
 63 
 64 If the flag is followed by a parenthesized letter, the letter is the
 65 CPU tag of the processor on which that process must be run.
 66 dtu
 67    is the incremental CPU time (in seconds) the process has used since
 68    the tcq command was last called.
 69 dpf
 70    is the incremental number of page faults the process has taken since
 71    the tcq command was last called.
 72 temax
 73    is the value (in milliseconds) of temax of the process.  Temax is
 74    the maximum amount of CPU time the process may use in the current
 75    eligibility quantum.
 76 
 77 
 78 te
 79    is the value (in milliseconds) of te of the process.  Te is the
 80    amount of CPU time used in the current eligibility quantum.
 81 ts
 82    is the value (in milliseconds) of ts of the process.  Ts is the
 83    amount of CPU time used since scheduling priority changed.
 84 ti
 85    is the value (in milliseconds) of ti of the process.  Ti is the
 86    amount of CPU time used since the process interacted, or the tuning
 87    parameter timax, whichever is less.
 88 tssc
 89    is the real time (in seconds) since the state change of the process.
 90 event
 91    is the event for which the process is waiting.  If this value is 0,
 92    the process is not waiting.
 93 
 94 
 95 d
 96    is the device identifier of the device containing the page, if the
 97    process is waiting for a page.  This is not currently used.
 98 ws
 99    is the modified value of the working set estimate being used for the
100    process.
101 wc
102    is the number of the work class to which the process belongs.
103 process
104    is the name of the user who owns the process.
105 workclass credits
106    is the value (in milliseconds) of CPU time used by the workclass.