Hello!

I had the problem today that I wanted to get some information out
of my wtmp file about system usage, and I needed logins 
categorized by year. In Debian, "last" gives output like

ralph    pts/1        monk             Mon Nov 15 14:32   still logged
in
ralph    pts/0        monk             Mon Nov 15 12:40   still logged
in
ab       client48:0   client48         Mon Nov 15 12:26 - 13:22  (00:56)

i.e. it does not show the year of the login.

Of course you can always hack something together with Perl and
Sys::Utmp, but ist there some way of doing this with last or
some other common utility?

TIA
/ralph -- solved it in Perl for now, but I can't imagine this is
          the most elegant way to do it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to