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

Daily Command Summary

The daily command summary report shows the system resource utilization by command. With this report, you can identify the most heavily used commands and, based on how those commands use system resources, gain insight on how to best tune the system. The daily command and monthly reports are virtually the same except that the daily command summary reports only on the current accounting period while the monthly total command summary reflects the data accumulated since the last invocation of monacct.

These reports are sorted by TOTAL KCOREMIN, which is helpful for calculating ``drain'' on a system.

``Sample Daily Command Summary'' shows a sample daily command summary.

Jun 27 09:52 1992  DAILY COMMAND SUMMARY Page 1

TOTAL COMMAND SUMMARY COMMAND NUMBER TOTAL TOTAL TOTAL MEAN MEAN HOG CHARS BLOCKS NAME CMDS KCOREMIN CPU-MIN REAL-MIN SIZE-K CPU-MIN FACTOR TRNSFD READ

TOTALS 1114 2.44 16.69 136.33 0.15 0.01 0.12 4541666 1926

sh 227 1.01 2.45 54.99 0.41 0.01 0.04 111025 173 fmli 10 0.50 2.06 9.98 0.24 0.21 0.21 182873 223 vi 12 0.35 0.62 44.23 0.55 0.05 0.01 151448 60 sed 143 0.09 0.82 1.48 0.10 0.01 0.55 14505 35 sadc 13 0.08 0.19 1.45 0.44 0.01 0.13 829088 19 more 3 0.04 0.07 2.17 0.59 0.02 0.03 30560 1 cut 14 0.03 0.09 0.28 0.37 0.01 0.33 154 13 uudemon. 76 0.03 0.66 2.30 0.05 0.01 0.29 43661 13 uuxqt 29 0.03 0.30 0.72 0.08 0.01 0.42 80765 35 mail 4 0.02 0.06 0.09 0.37 0.01 0.60 4540 9 ckstr 21 0.02 0.11 0.13 0.17 0.01 0.85 0 4 awk 13 0.02 0.12 0.21 0.15 0.01 0.54 444 2 ps 2 0.02 0.10 0.13 0.17 0.05 0.77 8060 21 find 9 0.02 3.35 5.73 0.00 0.37 0.58 355269 760 sar 1 0.01 0.19 0.24 0.08 0.19 0.80 564224 4 acctdisk 2 0.01 0.01 0.06 1.02 0.01 0.22 0 9 mv 24 0.01 0.14 0.17 0.10 0.01 0.81 3024 36 . . .

Sample Daily Command Summary

The data provided includes the following:


COMMAND NAME
The name of the command. All shell procedures are lumped together under the name sh because only object modules are reported by the process accounting system. Monitor the frequency with which you see program names such as a.out, core, or any other name that does not seem right. By doing so, you may spot programs written for private use (such as someone's favorite version of online backgammon) hidden behind innocuous names. acctcom also helps determine who executed a suspiciously named command and whether it was executed with the UID or GID set to root.

NUMBER CMDS
The total number of invocations of this particular command.

TOTAL KCOREMIN
The total cumulative measurement of the amount of kilobyte segments of memory used by a process per minute of run time.

TOTAL CPU-MIN
The total processing time this program has accumulated.

TOTAL REAL-MIN
Total real-time (wall-clock) minutes this program has accumulated.

MEAN SIZE-K
The mean of the TOTAL KCOREMIN over the number of invocations reflected by NUMBER CMDS.

MEAN CPU-MIN
The mean derived between the NUMBER CMDS and TOTAL CPU-MIN.

HOG FACTOR
The ratio of system availability to system utilization, shown by the total CPU time divided by the elapsed time. This gives a relative measure of the total available CPU time consumed by the process during its execution.

CHARS TRNSFD
The total count of characters transferred by the read and write system calls. (Because of overflow, this number may be negative.)

BLOCKS READ
The total count of the physical block reads and writes performed by a process.

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