110594     CPU Usage Monitor Display Facility for RSX-11M  Version:
X02.05, August 1984
Submitted by: Y. N. Miles, TRIUMF, Vancouver, B.C., Canada
Operating System: RSX-11M V4.1  Source Language: MACRO-11  Memory
Required: 1K (+ 256 words of POOL !)  Hardware Required: VT52 / VT100
type CRT terminal.  Extended instruction set in CPU.  Keywords: System
Management - RSX-11
Abstract: USE is a CPU-usage display facility which shows on a video
terminal a bar graph of the eight most CPU-intensive processes.
This is achieved by loading a histogram driver into pool, and
calling this driver directly from the (KW11) clock interrupt
vector.  The histogram driver checks sign bit on saved PSL (minus
if task, + if system process), and then stores the process name
(task: $TKTCB -- cur TCB), I/O state (saved PSL has PR4 set), idle
state (low order bit set in $IDLFL), else $FORK state...
USE requires a CRT with Digital Equipment Corporation VT52 escape
sequences.  It needs to have privilege, and it needs executive
global symbols contained in LB:[1,54]RSX11M.STB.  All files,
documentation, generation, and source are contained in one universal
library USE.ULB.  To generate USE, type @USE.ULB/LB:USEGEN.
Restrictions: Must be linked with LB:(1,54)RSX-11M.STB. Events sampled
on system
clock, requires 256 words of POOL (gives it back when exit).
Media (Service Charge Code): One RX01 Diskette (KA)  Format: FILES-11,
600' Magnetic Tape (MA)  Format: FILES-11

The PDP-11 DECUS Software Index
The PDP-11 Home Page
Tim Shoppa <shoppa@trailing-edge.com>
Created: December 26, 1998