diskusg(1M) DG/UX 5.4.2 diskusg(1M)
NAME
diskusg - generate disk accounting data by user id
SYNOPSIS
/usr/lib/acct/diskusg [-svipu] [file ...]
where:
file The name of a file system or of a file containing output from
a previous invocation of diskusg; the default is the standard
input.
DESCRIPTION
Diskusg generates disk accounting information. If you omit the -s
option, you must specify a file system name. Diskusg then extracts
the disk accounting information from the inodes of the specified file
systems. With -s you must specify a diskusg output filename.
Diskusg produces one line per user, in the following format:
uid login #blocks
where:
uid The numerical user id of the user
login The login name of the user; and
#blocks The total number of disk blocks allocated to this user.
Options
-s Assemble data from existing diskusg output files,
combining all lines for a single user into a single line.
-v Be verbose, printing on standard error a list of all
files charged to no one. Diskusg prints `BAD UID'
followed by a file system name, cylinder group number,
inode number, and user identification number.
-i fnmlist Ignore the data on those file systems whose file system
name is in fnmlist . Fnmlist is a list of file system
names separated by commas or enclosed within quotes.
Diskusg compares each name in this list with the file
system name stored in the volume ID (see labelit(1M)).
-p file Use file instead of /etc/passwd as the name of the
password file to generate login names.
-u file Write records to file of files that are charged to no
one. Records consist of the special file name, the i-
node number, the user ID, and the number of blocks.
The output of diskusg is normally the input to acctdisk (see
acct(1M)), which generates total accounting records that can be
merged with other accounting records. Diskusg is normally run in
dodisk (see acctsh(1M)).
Licensed material--property of copyright holder(s) 1
diskusg(1M) DG/UX 5.4.2 diskusg(1M)
FILES
/etc/passwd Used for user id to login name conversions
SEE ALSO
acct(1M), acctsh(1M), acct(4).
NOTE
Diskusg cannot be used to generate accounting information for
remotely mounted filesystems.
Licensed material--property of copyright holder(s) 2