Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.inc.net!arclight.uoregon.edu!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail From: james@jraynard.demon.co.uk (James Raynard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: User Accounting Date: 24 Jul 1996 20:17:59 -0000 Organization: A FreeBSD Box Lines: 22 Message-ID: <4t60dn$aeh@jraynard.demon.co.uk> References: <4t52qo$5pt@stratus.skypoint.net> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: jraynard.demon.co.uk In article <4t52qo$5pt@stratus.skypoint.net>, Patrick Sonnek <psonnek@skypoint.com> wrote: >I am looking for a way to collect statistics on system usage. So far >nothing in the FreeBSD book, or any of the man pages has jumped out and >grabbed me. The only thing I did notice, is that in /etc/sysconfig it >says that leave accounting off, as it probably dosn't work yet. See the Handbook entry on setting up quotas - I believe this works now under 2.1.5. >Does anyone have a script, or utility that can give me info on number of >callers per day. total connection time (2 reports, by user, and by tty) >and able to get breakdowns by day/month I don't know of any off hand, but there must be lots of them around. You could probably knock a simple one up using Perl on the output from 'last' without too much difficulty. -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/