Date: Tue, 19 Aug 1997 17:31:10 -0600 (MDT) From: Atipa <freebsd@atipa.com> To: Travis Mikalson <bofh@terranova.net> Cc: Jason McKay <jasonm@barney.webace.com.au>, isp@FreeBSD.ORG Subject: Re: WinNT to FreeBSD Message-ID: <Pine.BSF.3.91.970819172042.19767B-100000@dot.ishiboo.com> In-Reply-To: <33FA102E.7BF4@terranova.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Aug 1997, Travis Mikalson wrote: > Jason McKay wrote: > > > > We are currently operating an ISP under Windows NT Server 4, and are > > seriously thinking about changing and running it under FreeBSD 2.2.2. > > > > There is only one thing holding us back, it is very important that we keep > > track of our users, such as login times and length of login plus how much > > they are downloading per call. > > Measuring the amount of downloading per call could be a little bit > trickier but keeping track of their login times, etc. is pretty basic: > > man ac > man last If you use something like /usr/local/bin/ppplogin as a shell, you can put a logging script into their shell script. Use last last (or ac) for time logged on, and /usr/sbin/pppstats for total amount of bytes downloaded (and/or uploaded). Depending on the number of users, you can exercise various options for compiling, consolodating, and reporting monthly activity for each user. If you don't have too many, you can just echo "<username> <duration_in_minutes> <bytes>" >> /blah/accounting after each connection os closed and parse/total the ASCII using a simple script. Lots of users would make that a fiarly unwieldy file, though. Kevin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970819172042.19767B-100000>
