* Sonntag, 16. Juli 2000 um 10:23 (+0200) schrieb Hardy Griech:
ich möchte über /etc/ppp/ip-up.local und /etc/ppp/ip-down.local eine Verbindungsstatistik erzeugen. Die Zeiten sind klarerweise kein Problem, nur wie komme ich z.B. die Anzahl der übertragenen Bytes heran?
Das kommt drauf an: - Wenn du den ipppd benutzt, loggt isdnlog die Daten und du kannst sie mit isdnrep abfragen... - Benutzt du den pppd, dann (aus "man pppd"): For the ip-down and auth-down scripts, pppd also sets the following variables giving statistics for the connection: CONNECT_TIME The number of seconds from when the PPP negotiation started until the connection was terminated. BYTES_SENT The number of bytes sent (at the level of the serial port) during the connection. BYTES_RCVD The number of bytes received (at the level of the serial port) during the connection. LINKNAME The logical name of the link, set with the linkname option. Gruß Andreas -- Andreas Könecke "Andreas Koenecke <akoenecke@akoenecke.de>" PGP-ID/Fingerprint: BD7C2E59/3E 11 E5 29 0C A8 2F 49 40 6C 2D 5F 12 9D E1 E3 PGP-Key on request or on public keyservers -- --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com