Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acctdisk(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acct

acctcms

acctcom

acctcon

acctmerg

acctprc

fwtmp

runacct

acct system call

the acct

utmp

acctdisk, acctdusg

PURPOSE

     Performs disk-usage accounting.

SYNOPSIS
     /usr/lib/acct/acctdisk

     /usr/lib/acct/acctdusg [-u file] [-p file]

DESCRIPTION

       acctdisk

     The acctdisk command reads lines from standard input that
     contain a user ID, the  user's login name, and the number
     of disk blocks occupied by  his files.  It converts these
     lines to total accounting records that can be merged with
     other  accounting records  and  writes  those records  to
     standard output.

       acctdusg

     The  acctdusg command  reads a  list of  file names  from
     standard  input  (usually  piped  from a  find  /  -print
     command), computes  disk resource usage  (including indi-
     rect blocks)  using the  login name of  the owner  of the
     files, and writes the results to standard output.

     FLAGS

     -p  file  Searches  file  for  login names  and  numbers,
               instead of searching /etc/passwd.
     -u  file  Places in file records  of file names for which
               it does not charge.

FILES

     /etc/passwd       Used  to convert  login  names to  user
                       IDs.
     /usr/lib/acct     Directory  holding all  accounting com-
                       mands.

RELATED INFORMATION

     The following  commands: "acct,"   "acctcms," "acctcom,"
     "acctcon,"    "acctmerg,"   "acctprc,"    "fwtmp,"   and
     "runacct."

     The acct system  call and the acct and utmp  files in AIX
     Operating System Technical Reference.

     "Running System Accounting" in Managing the AIX Operating
     System.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026