[Dxspider-support] Identify users that have logged in?

Dirk Koopman djk at tobit.co.uk
Mon Jan 23 09:04:54 GMT 2006


On Sun, 2006-01-22 at 16:12 -0800, Jim Reisert AD1C wrote:
> In case it was not clear, I want a list of all users who have *ever* logged into my node.  SH/U is not enough.
> 

Hmm...


No not super easily. The information that you need is in the log files
held in /spider/data/log/<year>/<month>.log

It is all in ascii and can be grepped (if all you need is callsigns)
otherwise you will need to write some kind of program (perl is quite
good for this :-) to process the files to get the information out that
you require.

You will be looking for lines like:

1136244211^DXCommand^G1TLH-2 connected from 127.0.0.1
1136244600^DXProt^GB7DJK connected from gb7djk.dxcluster.net

The first is users connecting and the second is nodes.

The number is a "time_t" which is the number emitted by the C / perl
function 'time()'.

Disconnect events look like:-

1136651721^DXCommand^G1TLH-2 disconnected
or
1136652289^DXCommand^G1TLH-2 bumped off by 127.0.0.1, disconnected
if the same call connects from a different place.

and I have just noticed that the node version is *completely*
consistent:-

1137793504^DXProt^GB7DJK-1 Disconnected

Sigh...

Dirk




More information about the Dxspider-support mailing list