diskusg(1m)
_________________________________________________________________
diskusg
generate disk accounting data by user id
_________________________________________________________________
SYNTAX
/usr/lib/acct/diskusg [options] [files]
DESCRIPTION
Diskusg generates disk accounting information. File is the name
of a file system or of a file containing output from a previous
invocation of diskusg; the default is the standard input. 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 are:
-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
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
diskusg(1m)
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)).
FILES
/etc/passwd Used for user id to login name conversions
SEE ALSO
acct(1M), acctsh(1M), acct(4)
EXCEPTION
Diskusg cannot be used to generate accounting information for
remotely mounted filesystems.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)