Searching the output of last

Jerry Whelan guru at buhub.bradley.edu
Sun Apr 28 17:07:48 AEST 1991


	Does anyone have/know of a program to parse the output of the
'last' command and tell me who was logged in at some arbitrary time?
I'd like to be able to type: 

			whenwho 9:56

and get a list of all the people who were logged in during that particular
minute.  My site resets the wtmp file at 4 AM, so we are not dealing with
infinite output from 'last.'  Awk, perl, C or anything that works reasonably
quickly is fine with me.

-------------------------------------------------------------------------------
	"I'm not sure what I mean, so I'm going to listen to what I say."
 guru@ (buhub.bradley.edu || bucc1.bradley.edu) || whelan at wiliki.eng.hawaii.edu



More information about the Comp.unix.questions mailing list