Humm.. definitely it's a hack, but hay it works. Slow because every line
of the log must be examined and there could be many thousands. Why would
anybody care if it's slow?
It's only unreliable in the context of different log formats, so modify
it to your requirements. ;-)
It doesn't necessarily
On 2013-04-13 09:26, Adam Tauno Williams wrote:
> On Sat, 2013-04-13 at 12:56 +0100, Charles Bradshaw wrote:
> This seems very unreliable, slow, and hacky. When I login to my e-mail
> the system typically tells me the last time I logged in [at least to
> that app]. Doesn't the meta-data in the IM
On Sat, 2013-04-13 at 12:56 +0100, Charles Bradshaw wrote:
> Attached is a little perl script which parses /var/log/maillog and lists
> the last time users logged in.
This seems very unreliable, slow, and hacky. When I login to my e-mail
the system typically tells me the last time I logged in [a
Attached is a little perl script which parses /var/log/maillog and lists
the last time users logged in.
It can be easily adapted to do an in depth scan any/all log file.
On Thu, 2013-04-11 at 10:15 +0200, Marc Patermann wrote:
> Dale J Chatham schrieb (10.04.2013 21:49 Uhr):
>
> > Assuming Linux