*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> vxdiskusg (1m)              
Title
Content
Arch
Section
 

Contents


 vxdiskusg(1M)                                                 vxdiskusg(1M)




 NAME    [Toc]    [Back]
      vxdiskusg - generate VxFS disk accounting data by user ID

 SYNOPSIS    [Toc]    [Back]
      vxdiskusg [-s] [-v] [-i ignlist] [-p password-file]
           [-u outfile] [file...]

 DESCRIPTION    [Toc]    [Back]
      vxdiskusg generates intermediate disk accounting information from data
      in file, or the standard input if the -s option is specified and file
      is omitted.  vxdiskusg outputs lines on the standard output, one line
      per user, in the following format:

           uid   login   #blocks

      where:

           uid       User's numerical user ID

           login     User's login name

           #blocks   Total number of disk blocks allocated to this user

      Without the -s option, file is the special filename of device(s)
      containing file systems.  vxdiskusg reads only the inodes of file
      systems for disk accounting.

      The output of vxdiskusg is normally the input to acctdisk (see
      acct(1M)) which generates total accounting records that can be merged
      with other accounting records.  vxdiskusg is normally run in dodisk
      (see acctsh(1M)).

    Options    [Toc]    [Back]
      vxdiskusg recognizes the following options:

           -i ignlist     Ignore the data on those file systems whose file
                          system name is in ignlist.  ignlist is a list of
                          file system names, separated by commas or
                          separated by spaces and enclosed within quotes.
                          vxdiskusg compares each name in this list with the
                          file system name stored in the volume name (see
                          volcopy_vxfs(1M)), if it exists.

                          Note: This option was intended for use with the
                          volcopy command, which is no longer supported on
                          VxFS.

           -p password-file
                          Use password-file as the name of the password file
                          to generate login names.  /etc/passwd is used by
                          default.



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 vxdiskusg(1M)                                                 vxdiskusg(1M)




           -s             Input data is already in vxdiskusg output format.
                          vxdiskusg combines all lines for a single user
                          into a single line.

           -u outfile     Write records to outfile of files that are charged
                          to no one.  Records consist of the special file
                          name, the inode number, and the user ID.

           -v             Verbose.  Print a list on standard error of all
                          files that are charged to no one.

    Operands    [Toc]    [Back]
      vxdiskusg recognizes the following operand:

           file           The special filename of device(s) containing file
                          systems.  Do not use this operand with the -s
                          option.

 EXAMPLES    [Toc]    [Back]
      The following generates daily disk accounting information for the file
      systems on these disks:

           for i in /dev/vg00/lvol1 /dev/vg00/lvol6 /dev/vg00/lvol7; do
               vxdiskusg $i > dtmp.`basename $i` &
           done
           wait
           vxdiskusg -s dtmp.* | sort +0n +1 | acctdisk > disktacct

 FILES    [Toc]    [Back]
      /etc/passwd         Used for converting user IDs to login names

 SEE ALSO    [Toc]    [Back]
      acct(1M), acctsh(1M), diskusg(1M), acct(4).

 STANDARDS CONFORMANCE    [Toc]    [Back]
      vxdiskusg: SVID2, SVID3


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
diskusg HP-UX generate disk accounting data by user ID
diskusg IRIX generate disk accounting data by user ID
diskusg Tru64 Generates disk accounting data by user ID
vxfsconvert HP-UX convert a file system to a vxfs file system or upgrade a VxFS disk layout version.
vxupgrade HP-UX upgrade the disk layout of a VxFS file system
ncheck_vxfs HP-UX generate pathnames from inode numbers for a VxFS file system
vxfs_ra_per_disk HP-UX amount of VxFS file system read-ahead per disk, in KB.
df_vxfs HP-UX report number of free disk blocks on a VxFS file system
ttyslot Tru64 Find the slot for the current user in the user accounting database
acctdisk Tru64 Perform disk-usage accounting
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service