Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 23:20:27 +0700 (KRS)
From:      Victor Sudakov <vas@vas.tsu.tomsk.su>
To:        dwhite@resnet.uoregon.edu
Cc:        questions@FreeBSD.ORG
Subject:   Re: ac does not work in FreeBSD 2.2.2
Message-ID:  <199712161620.XAA03431@vas.tsu.tomsk.su>
In-Reply-To: <Pine.BSF.3.96.971215115913.292u-100000@gdi.uoregon.edu> from "Doug White" at "Dec 15, 97 11:59:26 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
> On Mon, 15 Dec 1997, Victor Sudakov wrote:
> 
> > Hello.
> > 
> > How can this be that ``ac'' does not show anything while ``last'' works?
> 
> Because you have to turn on accouting.

I am afraid you are mistaken.


AC(8)			FreeBSD System Manager's Manual 		 AC(8)

NAME
     ac - connect time accounting

SYNOPSIS
     ac [-dp] [-t tty] [-w wtmp] [users ...]

DESCRIPTION
     If the file /var/log/wtmp exists, a record of individual login and logout
     times are written to it by login(1) and init(8),  respectively.  Ac exam-
     ines these records and writes the accumulated connect time (in hours) for
     all logins to the standard output.

[...]

FILES
     /var/log/wtmp	  connect time accounting file
     /var/log/wtmp.[0-7]  rotated files

[...]

-- 
Victor Sudakov
mailto:vas@obluo.tomsk.su
http://www.obluo.tomsk.su/~vas
PGP public key: finger vas@obluo.tomsk.su



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712161620.XAA03431>