Installation guide

1 daemon 84
2 bin 71144
4 adm 976
5 uucp 3324
322 homer 2
521 whistler 2
943 cellini 363
1016 pollock 92
1098 hopper 317
You must specify the raw device special file for filesystem (for example,
/dev/rrz3c). A file system must exist on the target device.
12.6.3 The acctdusg Command
The acctdusg command performs more thorough disk accounting than the
diskusg command. If dodisk is invoked with the o option, the acctdusg
command is used to create the /var/adm/dtmp file.
The acctdusg command has the following syntax:
acctdusg
[u filename][p filename]
Refer to the acctdusg(8) reference page for information on the command
options.
You must direct a binary disk usage file, usually /var/adm/dtmp, to the
command. If the dodisk shell script invokes the command, the acctdusg
command uses the file systems specified with the dodisk script as input.
The input to the acctdusg command is usually a list of files piped from a
find / print command. The command compares the file pathnames to
the users’ login directories ($HOME). If a file pathname is the same as a
user’s login directory, that user is charged for the file. Therefore, the
directory in which the file is located is the determining factor in charging
users for disk space. You can use the u option to display the number of
disk blocks used by files in directories other than the login directories.
For each file, the acctdusg command calculates the computed value,
which is the number of disk blocks (including hidden or indirect blocks)
that are allocated to the file divided by the number of hard links. If two or
more users have links to the same file, the acctdusg command charges
each user an equal percentage of the file’s total disk space.
The acctdusg command output displays the user identification number,
the user name, and the sum of the computed values of all the files owned
by the user in three columns and adds leading 0s (zeros) to the user
12–32 Administering the System Accounting Services