Re: How do i get a report for one day activity for specific client?

From: David S. Madole <>
Date: Tue, 19 Oct 1999 13:55:50 -0400

"Fernando Medina Jr." wrote:
> I need to see what sites a certain machine accesed yesterday. I did
> grep of access.log and got the sites, but I would like to see the times
> of access. Is there a util that will convert Unix time to human
> readable? thanks,

One way is to use something like this instead of grep:

   awk '/yahoo/ { $1 = strftime("%D %T", $1); print }' access.log

Just put your regex between the /'s. See "man strftime" for different
flags to change the date and time format.

Received on Tue Oct 19 1999 - 12:08:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:58 MST