02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

acctmerg(<strong>1M</strong>) acctmerg(lM)<br />

NAME<br />

acctmerg - merge or add total accounting files<br />

SYNOPSIS<br />

/usr/lib/acct/acctmerg [-a] [-i] [-p] [-t] [-u] [-v]<br />

[file . .. ]<br />

DESCRIPTION<br />

acctmerg reads its st<strong>and</strong>ard input <strong>and</strong> up to nine additional files,<br />

all in the tacct format (see acct(4)). It merges these inputs by<br />

adding records whose keys (normally user ID <strong>and</strong> name) are<br />

identical, <strong>and</strong> expects the inputs to be sorted on those keys. Flag<br />

options are:<br />

-a produce output in ASCII version of tacct<br />

-i input files are in ASCII version of tacct<br />

-p print input with no processing<br />

-t produce a single record that totals all input<br />

-u summarize by user ID, rather than user ID <strong>and</strong> name<br />

-v produce output in verbose ASCII format, with more precise<br />

notation for floating point numbers<br />

EXAMPLE<br />

The following sequence is useful for repairing any file kept in this<br />

format:<br />

acctmerg -v < filel > file2<br />

edit file2 as desired<br />

acctmerg -i < file2 > filel<br />

FILES<br />

/usr/lib/acct/acctmerg<br />

SEE ALSO<br />

acctcom(1), acct(<strong>1M</strong>), acctcms(<strong>1M</strong>), acctcon(<strong>1M</strong>),<br />

acctprc(<strong>1M</strong>), acctsh(<strong>1M</strong>), fwtmp(<strong>1M</strong>), runacct(<strong>1M</strong>),<br />

acct(2), acct(4), utmp(4).<br />

February, 1990<br />

Revision C<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!