Online Zeit counter

Frank Schubert frankerika at gmx.de
Mit Okt 5 12:03:59 CDT 2005


Am Sonntag 02 Oktober 2005 15:37 schrieb Gerhard Gaußling:
> Am Sonntag 02 Oktober 2005 13:52 schrieb Frank Schubert:
> > Hallo liste,
> > ich hätte gerne meine Online-Zeit unter Kontrolle.

Hallo Gerhard,
danke nochmal für Deine Vorschläge,
wenn ich eines von beiden PGM zum addieren meine Online-Zeit überreden könnte 
wäre pppstatus perfekt.
---------------------------------------------------------------------------------------------- 
> [pppstatus]  - was developed for Linux users that are usually in console
> mode. It is a simple, easy to use program for displaying commonly
> needed / wanted statistics in real time about ingoing and outgoing
> TCP/IP traffic that is usually hard to find, with a simple, efficient
> interface.
---------------------------------------------------------------------------------------------
zeigt unter anderem:
IP Address:                                                              ││     
Top Speed:           0.00 KB/s                                           ││     
Active Interface:    ppp0          Graphic Using Speed:    33.6 Kb/s     ││     
Online Time:         0:1:20      <------ wird aber leider nicht 
fortgeschrieben. Ist also fast wie "plog" nur etwas genauer. 
------------------------------------------------------------------------------------------------
Nachtrag.
nach langem Suchen und hin und her habe ich mich für folgendes entschieden.:

egrep ist mein Freund.

franky at boss:/var/log$ egrep -n "(Connect time)" syslog
453:Oct  5 10:13:29 localhost pppd[7727]: Connect time 16.1 minutes.
506:Oct  5 10:18:22 localhost pppd[8251]: Connect time 1.8 minutes.
569:Oct  5 10:36:50 localhost pppd[8766]: Connect time 1.3 minutes.
1424:Oct  5 18:31:18 localhost pppd[7642]: Connect time 0.7 minutes.

Hier habe ich alle Online-Zeiten, muß sie halt addieren...............:-)
So kann ich meine Internetrechnung Kontrollieren und sehe vorher was an Kosten 
auf mich zu kommt.

Gruß
Frank

This message was sent using 100 % recycled electrons

UBUNTU LINUX Hoary 5.04