Examples of the Process Accounting report
You can generate Process Accounting reports.
Process Accounting report
The following is an example of the Process Accounting report:# /usr/bin/acctrpt -f /var/aacct/acctdata
(C) PELAPSE TELAPS CPU (sec) (M) VMEM DMEM PMEM (pg) (F) LFILE DFILE (MB) TIMESTAMP PROJID UID GID PID CMD STARTED EXITED (S) LSOCKET DSOCKET (MB) --------- ------ --- --- --- --- ------- ------ --- ------- ------- ------ 11151936 System root system 524386 acctctl 11151936 E C: 0.3824 0.3824 0.2394 M: 25 27 0 F: 0.00 0.00 S: 0.00 0.00 11151936 System root system 524388 nfssync_kpro 11151936 E C: 0.0008 0.0008 0.0003 M: 0 0 0 F: 0.00 0.00 S: 0.00 0.00
Aggregated Process Accounting report
The following is an example of the Aggregated Process Accounting report. The flags -P, -U, -G, and -C of the acctrpt command facilitate preparing aggregated process accounting reports. These flags correspond respectively to project ID, user ID, group ID, and command name. The administrator can control the order in which the data is presented by changing the order of the flags. The following is an example of an Aggregated Process Accounting report based on all user IDs:
# /usr/bin/acctrpt -U ALL -f /var/aacct/acctdata
(C) PELAPSE TELAPSE CPU (sec) (M) VMEM DMEM PMEM (pg) (F) LFILE DFILE (MB) PROJID UID GID CMD CNT (S) LSOCKET RSOCKET (MB) --- --- --- -------- -------- -------- - root - - 590 C: 54880.8 281458.2 60.3 M: 6 14100294 14098216 F: 32.3 1.4 S: 0.0 19.8 - 104 - - 28 C: 3.3 3.3 1.0 M: 186 299 708 F: 8.3 0.0 S: 0.0 0.0