Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-07 - decus/20-0166/cputim.doc
There are no other files named cputim.doc in the archive.
                                CPUTIM


	CPUTIM monitors cpu usage in some interval of time. This
program takes the time interval from a file called CPU.INI and
monitors the cpu for that amount of time. After the time is reached
program will list users in ascending order by the time of cpu they
used in that interval. This program is a very good way to detect
system heavy users. This program does not take any commands.

output: The first line of output gives the day OF WEEK, DATE, TIME
        , AND THE LENGHT OF TIME SINCE SYSTEM WAS LAST STARTED. THE
        SECOND LINE GIVES 1,5, AND 15 MINUTES AVERAGE OF RUNNABLE 
        PROCESS.
JOB: IS THE DECIMAL JOB NUMBER. AN "*" IS PRINTED BESIDE YOUR JOB 
     NUMBER.
LINE: IS THE OCTAL TERMINAL NUMBER. IF LINE IS DETTACHED A "DET"
      IS PRINTED INSTEAD OF TERMINAL NUMBER.
PROGRAM: IS THE NAME OF PROGRAM THE USER IS CURRENTLY RUNNING.
STATE: IS THE STATE OF THE USER'S JOB. IT IS EIGHTER RUN(RUNNING)
       OR TI(TERMINAL INPUT).
TIME: IS THE TOTAL CPU TIME JOB HAS TAKEN.
%CPU: IS THE TOTAL CPU PERCENTAGE THAT JOB HAS TAKEN
      (MIN:SEC:MILSEC).
USER: IS THE NAME OF USER UNDER WHICH THE JOB IS LOGGED IN.

THE TIME INTERVAL IN CPU.INI SHOULD BE IN SECONDS. IF THERE IS
NO CPU.INI DEFAULT TIME IS 120 SECONDS.