DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using system accounting

Daily Usage Report

The daily usage report gives a breakdown of system resource utilization by user.

``Sample Daily Usage Report'' shows a sample of this type of report.

Jun 27 09:53 1992  DAILY USAGE REPORT FOR sfxbs Page 1

LOGIN CPU (MINS) KCORE-MINS CONNECT (MINS) DISK # OF # OF # DISK FEE UID NAME PRIME NPRIME PRIME NPRIME PRIME NPRIME BLOCKS PROCS SESS SAMPLES 0 TOTAL 5 12 6 16 131 51 0 1114 13 0 0 0 root 2 8 1 11 0 0 0 519 0 0 0 3 sys 0 1 0 1 0 0 0 45 0 0 0 4 adm 0 2 0 1 0 0 0 213 0 0 0 5 uucp 0 0 0 0 0 0 0 53 0 0 0 999 rly 3 1 5 2 111 37 0 269 1 0 0 7987 jan 0 0 0 1 20 14 0 15 6 0 0

Sample Daily Usage Report

The data provided includes the following:


UID
The user ID.

LOGIN NAME
The login name of the user. This information is useful because it identifies a user who has multiple login names.

CPU (MINS)
The amount of time a user's process used the central processing unit. This category is divided into PRIME and NPRIME (nonprime) utilization. The accounting system's idea of this division is located in the /etc/acct/holidays file.

KCORE-MINS
A cumulative measure of the amount of memory a process uses while running. The amount shown reflects kilobyte segments of memory used per minute. This measurement is also divided into PRIME and NPRIME amounts.

CONNECT (MINS)
The amount of ``real time'' used. This column identifies the amount of time a user was logged in to the system. If the amount of time is high and the number shown in the column # OF PROCS is low, you can safely conclude the owner of the relevant login is someone who logs in first thing in the morning and hardly touches the terminal the rest of the day. You need to talk to this kind of user. This column is also divided into PRIME and NPRIME utilization.

DISK BLOCKS
When the disk accounting programs have been run, the output is merged into the total accounting record (daytacct) and shows up in this column. This disk accounting is accomplished by the program acctdusg. For accounting purposes, a ``block'' is 512 bytes.

# OF PROCS
This column reflects the number of processes that were invoked by the user. If this column has large numbers, a user may have a shell procedure that has run out of control.

# OF SESS
The number of times a user logged on to the system is shown in this column.

# DISK SAMPLES
This shows how many times disk accounting was run to obtain the average number of DISK BLOCKS listed earlier.

FEE
An often unused field in the total accounting record, the FEE field represents the total accumulation of special services charged against the user by the chargefee shell procedure. [See acctsh(1M).] The chargefee procedure is used to levy charges against a user for special services, such as file restores.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004