[K12OSN] collect stats

Ray Garza ray at mission.lib.tx.us
Wed Sep 6 16:03:11 UTC 2006


On Wednesday 06 September 2006 08:43, Martin Woolley wrote:
> On Wednesday 06 Sep 2006 14:09, Ray Garza wrote:
> > Hello,
> >
> > Is there a way to collect some simple stats on a per day basis such as
> > total number of logins and number of unique users logged in that day?
>
> you might be able to do something with the last command.  If you have
> several servers, you'll have to run last on each one, capture and manipuate
> the output;  expect is your friend for remote commands

Thanks, for the tip.

How far back does "last" go? Is it dependent on the log rotations as far as 
displaying past history? If so, which logs?

Ray
-- 
Coordinator of Computer Services
Speer Memorial Library
(956) 580-8757
ray at mission.lib.tx.us




More information about the K12OSN mailing list