Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acctcom(1)

acct(8)

acctcms(8)

acctcon(8)

acctprc(8)

acctsh(8)

fwtmp(8)

runacct(8)

acct(2)

acct(4)

utmp(4)



  acctmerg(8)                         CLIX                         acctmerg(8)



  NAME

    acctmerg - Merges or adds total accounting files

  SYNOPSIS

    /usr/lib/acct/acctmerg [flag ... ] [file ... ]

  FLAGS

    -a   Produces output in the ASCII version of the tacct structure.

    -i   Specifies that the input files are the ASCII version of the tacct
         structure.

    -p   Displays input with no processing.

    -t   Produces a single record that totals all input.

    -u   Summarizes by user ID only, rather than user ID and name.

    -v   Produces output in verbose ASCII format, with more precise notation
         for floating-point numbers.

  DESCRIPTION

    The acctmerg command reads stdin and up to nine additional files.  All of
    the files are in the tacct structure format (see acct(4)) or its ASCII
    version.  The command merges the input files by adding records having keys
    (user ID and name) that are identical, and sorts the input by those keys.

  EXAMPLES

    1.  This example reads the input files waterproj and buildproj, and
        produces an output file in verbose ASCII format.

        acctmerg -v waterproj buildproj


    2.  This example indicates that the input file is an ASCII version of the
        tacct structure.

        acctmerg -i <file2 >file1


  DIAGNOSTICS

    The acctmerg command displays the message ``acctmerg can't open file'' if
    it cannot open one of the input files.  It displays the following message
    if the total number of input files is greater than 10:  ``acctmerg: > 10
    files''.



  2/94 - Intergraph Corporation                                              1






  acctmerg(8)                         CLIX                         acctmerg(8)



  EXIT VALUES

    If acctmerg cannot open an input file, it exits with a value of 1.

  RELATED INFORMATION

    Commands:  acctcom(1), acct(8), acctcms(8), acctcon(8), acctprc(8),
    acctsh(8), fwtmp(8), runacct(8)

    Functions:  acct(2)

    Files:  acct(4), utmp(4)










































  2                                              Intergraph Corporation - 2/94




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