I'll have to look at syslog and see what I can find.  But that's not
really the problem :] I already know how to pull the info out.  I was
just wondering if there was a package that did what I wanted to do
already.

On Fri, Jan 31, 2014 at 4:26 PM, Corey Edwards <[email protected]> wrote:
> On Fri, Jan 31, 2014 at 4:12 PM, Alan Young <[email protected]> wrote:
>
>> I'm not looking to kick them off, at least not yet, just report the
>> amount of time.  As far as I can tell, if I filter the output of last
>> for tty\d I get only the one login (assuming they don't Ctl-Alt-#, but
>> if they do that's their own fault) my howlong script already handles
>> mutlpke users.
>>
>
> What about parsing the login records from syslog? It wouldn't be too hard to
> match up the logins and logouts and sum up the time in between.
>
> Corey
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */



-- 
Alan Young

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to