homepage of volker gropp
Greasemonkey scripts
My first Greasemonkey scripts
PPP connect length (uptime) scripts
Some scripts to log and show the connection time/uptime of the current PPP link or
show a top20 similar to uptimed/uprecords.
These scripts are made for Debian but should work on other Distributions (with small modifications) aswell.
They depend Bash, gawk, calc (emacs), expr and date.

user@box:~# /usr/src/ppprecords
      #          link-uptime |                   dialin at
-----------------------------+----------------------------
      1    45 days, 16:39:14 |    Thu Mar 11 01:19:47 2004
      2    43 days, 13:53:11 |    Thu Mar  3 00:19:50 2005
      3    42 days, 19:21:46 |    Wed Jan 28 12:07:15 2004
      4    23 days, 23:45:28 |    Fri May 14 15:19:34 2004
      5    12 days, 17:39:07 |    Tue Apr 27 20:02:54 2004
      6    10 days, 03:38:46 |    Mon Jun  7 15:10:15 2004
      7     3 days, 03:52:58 |    Tue May 11 11:26:03 2004
      8     2 days, 01:27:00 |    Sun Apr 25 18:03:01 2004
      9     1 days, 00:59:47 |    Sat Jun  4 20:48:15 2005
     10     1 days, 00:00:27 |    Sun Aug 13 22:21:34 2006
-----------------------------+----------------------------
->  755     0 days, 19:11:06 |    Tue Sep 26 17:11:03 2006
-----------------------------+----------------------------
 1up in     0 days, 00:04:56 | at Wed Sep 27 12:27:05 2006
 no1 in    44 days, 21:28:08 | at Sat Nov 11 08:50:17 2006