File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / ac
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



ac                           Command                           ac




Summarize login accounting information

aacc [ -ddpp ] [ -ww _w_f_i_l_e ][ _u_s_e_r_n_a_m_e ... ]

One of the accounting mechanisms available on the COHERENT system
is  login accounting,  which keeps  track of  the time  each user
spends logged  into the system.   Login accounting is  enabled by
creating the file  /usr/adm/wtmp.  Thereafter, the routines date,
login,  and init  write raw accounting  data to  /usr/adm/wtmp to
record the  time, the name of  the terminal, and the  name of the
user for each date change, login, logout, or system reboot.

The command  ac summarizes the raw  accounting data.  By default,
ac  prints the  total connect time  found in  /usr/adm/wtmp.  Any
username restricts the summary to each specified user.

The following options are available:

-dd    Itemize  the  output  into  daily  (midnight  to  midnight)
     periods.

-pp   Print individual totals.

-ww   Use wfile rather than /usr/adm/wtmp as the raw data file.

***** Files *****

/usr/adm/wtmp

***** See Also *****

commands, date, init, login, sa, utmp.h

***** Notes *****

The  file  /usr/adm/wtmp can  become  very  large; therefore,  it
should be  truncated periodically.  Special care  should be taken
if login accounting is enabled  on a COHERENT system with a small
disk.

















COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.