ACCTDISK, ACCTDUSG(8,C) AIX Commands Reference ACCTDISK, ACCTDUSG(8,C)
-------------------------------------------------------------------------------
acctdisk, acctdusg
PURPOSE
Performs disk-usage accounting.
SYNTAX
/usr/lib/acct/acctdisk ---|
+-----------+ +- -p /etc/passwd -+
/usr/lib/acct/acctdusg ---| |---| |---|
+- -u file -+ +---- -p file -----+
DESCRIPTION
acctdisk
The acctdisk command reads lines from standard input that contain a user ID,
the user's login name, and the number of disk blocks occupied by his files. It
converts these lines to total accounting records that can be merged with other
accounting records and writes those records to standard output.
acctdusg
The acctdusg command produces a report on disk usage in users' home
directories. The command takes a list of file names from standard input
(usually from a find / -print command) and writes a report to standard output.
The report indicates the disk resource usage (including indirect blocks) for
each user based on files in each user's home directory or subdirectories
thereof. Files named on standard input which are not present in any user's
home directory are not charged to any user.
FLAGS
-p file
Searches file for login names and numbers, instead of searching
/etc/passwd.
-u file
Places in file records of file names for which it does not charge.
FILES
/etc/passwd Converts login names to user IDs.
/usr/lib/acct Holds all accounting commands.
Processed November 8, 1990 ACCTDISK, ACCTDUSG(8,C) 1
ACCTDISK, ACCTDUSG(8,C) AIX Commands Reference ACCTDISK, ACCTDUSG(8,C)
RELATED INFORMATION
See the following commands: "acct/*," "acctcms," "acctcom," "acctcon1,
acctcon2," "acctmerg," "runacct," and "quot."
See the acct system call and the acct and utmp files in AIX Operating System
Technical Reference.
Processed November 8, 1990 ACCTDISK, ACCTDUSG(8,C) 2