[comp.mail.uucp] How to get more statistics from HDB UUCP?

Dan@dna.lth.se (Dan Oscarsson) (03/01/91)

I am using the HDB UUCP supplied from Sun and is polled by other sites.
Is there some way I can make uucico log the transfer times and speed of
the files transfered? Note: I am only polled. My uucico always runs in
slave mode.

   Dan

-- 
Dan Oscarsson                              Department of Computer Science
                                           Lund Institute of Technology
e-mail:  Dan.Oscarsson@dna.lth.se          Box 118
                                           S-221 00 Lund, Sweden

les@chinet.chi.il.us (Leslie Mikesell) (03/02/91)

In article <1991Mar1.091715.9415@lth.se> Dan@dna.lth.se (Dan Oscarsson) writes:

>I am using the HDB UUCP supplied from Sun and is polled by other sites.
>Is there some way I can make uucico log the transfer times and speed of
>the files transfered?

Look at the file:
/usr/spool/uucp/.Admin/xferstats

Assuming Sun's HDB is like everyone else's, the info you want is already
there.  It is, however, per-file and may not accurately reflect the
overhead of establishing the connection and doing the between-file
handshaking.  With telebit modems doing uucp-spoofing, it may be
especially far off since it will only measure the time until the
last file packet is in the sending modem's buffer.  Actually I don't
think it even checks on the last packet being written to the physical
device since I sometimes see speeds faster than the baud rate would
allow on non-spoofing lines - or maybe this is just the clock granularity.

Les Mikesell
  les@chinet.chi.il.us

brian@king.csd.mot.com (03/02/91)

Dan@dna.lth.se (Dan Oscarsson) writes:

>I am using the HDB UUCP supplied from Sun and is polled by other sites.
>Is there some way I can make uucico log the transfer times and speed of
>the files transfered? Note: I am only polled. My uucico always runs in
>slave mode.

Does it not already do that in /usr/spool/uucp/.Admin/xferstats (or some
such directory)?  On this system (Motorola 88K system running SVR3 with
HDB) I get this kind of thing in that file:


motcsd!uucp S (2/28-23:48:40) (C,24497,3) [notty] <- 404 / 0.016 secs, 25250 bytes/sec
motcsd!uucp S (2/28-23:48:40) (C,24497,4) [notty] <- 143 / 0.100 secs, 1430 bytes/sec
motcsd!root S (2/28-23:48:45) (C,24507,1) [notty] <- 4129 / 0.050 secs, 82580 bytes/sec
motcsd!root S (2/28-23:48:45) (C,24507,2) [notty] <- 143 / 0.016 secs, 8937 bytes/sec
motcsd!listen S (2/28-23:51:48) (C,24513,1) [notty] <- 723 / 0.033 secs, 21909 bytes/sec
motcsd!listen S (2/28-23:51:48) (C,24513,2) [notty] <- 147 / 0.033 secs, 4454 bytes/sec
motcsd!uucp S (2/28-23:54:45) (C,24521,1) [notty] <- 465 / 0.033 secs, 14090 bytes/sec
motcsd!uucp S (2/28-23:54:45) (C,24521,2) [notty] <- 143 / 0.016 secs, 8937 bytes/sec
motcsd!usenet S (3/1-0:00:50) (C,24529,1) [notty] <- 1150 / 0.100 secs, 11500 bytes/sec
motcsd!usenet S (3/1-0:00:51) (C,24529,2) [notty] <- 147 / 0.016 secs, 9187 bytes/sec
motcsd!brian S (3/1-0:55:53) (C,24772,1) [notty] <- 2183 / 0.033 secs, 66151 bytes/sec
motcsd!brian S (3/1-0:55:53) (C,24772,2) [notty] <- 145 / 0.050 secs, 2900 bytes/sec

etc etc etc.  You should get some representation of the tty device in the
field where this example shows "[notty]".

Dan@dna.lth.se (Dan Oscarsson) (03/05/91)

In article <1991Mar1.091715.9415@lth.se> Dan@dna.lth.se (Dan Oscarsson) writes:
>I am using the HDB UUCP supplied from Sun and is polled by other sites.
>Is there some way I can make uucico log the transfer times and speed of
>the files transfered? Note: I am only polled. My uucico always runs in
>slave mode.

Thanks to all that replied.

It is logged in /usr/spool/uucp/.Admin/xferstats
but I had wrong owner on that file so uucp could not
log anything.

    Dan

-- 
Dan Oscarsson                              Department of Computer Science
                                           Lund Institute of Technology
e-mail:  Dan.Oscarsson@dna.lth.se          Box 118
                                           S-221 00 Lund, Sweden