Diskusg(1M): Diskusg - HP B2355-92068 Administration Manual

System administration commands
Table of Contents

Advertisement

diskusg(1M)
NAME
diskusg - generate disk accounting data by user ID
SYNOPSIS
/usr/sbin/acct/diskusg
DESCRIPTION
generates intermediate disk accounting information from data in files, or the standard input if
diskusg
omitted.
diskusg
outputs lines on the standard output, one per user, in the following format:
uid login #blocks
where:
uid
User's numerical user
login
User's login name, and
#blocks
Total number of disk blocks allocated to this user.
normally reads only the inodes of file systems for disk accounting. In this case, files are the spe-
diskusg
cial filenames of these devices.
Options
recognizes the following options:
diskusg
Input data is already in
-s
a single user into a single line.
verbose. Print a list on standard error of all files that are charged to no one.
-v
-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
volume
-p
file
Use file as the name of the password file to generate login names.
is used by default.
file
Write records to file of files that are charged to no one. Records consist of the special
-u
file name, the inode number, and the user
The output of
diskusg
accounting records that can be merged with other accounting records.
dodisk
(see acctsh(1M)).
EXAMPLES
The following generates daily disk accounting information:
for i in /dev/rp00 /dev/rp01 /dev/rp10 /dev/rp11; do
diskusg $i > dtmp.'basename $i' &
done
wait
diskusg -s dtmp.* | sort +0n +1 | acctdisk > disktacct
FILES
used for user-
/etc/passwd
SEE ALSO
acct(1M), acctsh(1M), volcopy(1M), vxdiskusg(1M), acct(4).
STANDARDS CONFORMANCE
: SVID2, SVID3
diskusg
HP-UX 11i Version 2: December 2007 Update
[ options ] [ files ]
ID,
diskusg
compares each name in this list with the file system name stored in the
if it exists.
ID
is normally the input to
-to-login-name conversions
ID
− 1 −
output format.
diskusg
ID.
(see acct(1M)) which generates total
acctdisk
diskusg
Hewlett-Packard Company
diskusg(1M)
combines all lines for
/etc/passwd
is normally run in
189
d

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents