dodisk(1M) dodisk(1M) NAME dodisk - performs disk accounting SYNOPSIS /usr/lib/acct/dodisk [-c] [special_files] /usr/lib/acct/dodisk [-c] -o [mount_points] DESCRIPTION By default, the dodisk command uses diskusg to do disk accounting on efs and xfs filesystems in /etc/fstab. It is typically run by using the cron(1M) command. When dodisk uses /etc/fstab, it skips remote resources. By default, dodisk reports accounting information in /var/adm/dtmp, converts the records to tacct format and stores them in /var/adm/acct/nite/disktacct. The dodisk command accepts the following options and operands: -c Causes dodisk to report accounting information in /var/adm/acct/day/dtmp, convert the records to cacct format and store them in /var/adm/acct/nite/csa/diskcacct. -o Causes dodisk to invoke acctdusg (see acct(1M)) rather than diskusg to account for disk usage by login directory for all filesystems. This option causes dodisk to perform more slowly. mount_points Specifies one or more mount points of mounted filesystem names where disk accounting is performed. If mount_points are not specified, "/" is the default filesystem. special_files Specifies one or more special filenames of mountable filesystems where disk accounting is performed. EXAMPLES The following example is a possible entry for the /var/spool/cron/crontabs/root file so that cron(1M) automatically runs dodisk: 30 10 * * 1-5 /usr/lib/acct/dodisk -c 2> /var/adm/acct/nite/csa/dk2log SEE ALSO acct(1M), acctdisk(1M), acctsh(1M), cron(1M), csa(1M), diskusg(1M). Page 1