From: "Andrey A. Jelnin" <bsod@gs7.ru>
To: community@altlinux.ru
Subject: Re: [Comm] подсчет времени в инете
Date: Tue, 18 Jan 2005 16:39:37 +0400
Message-ID: <20050118163937.50ae0dac.bsod@gs7.ru> (raw)
In-Reply-To: <1106051408.5084.28.camel@ibm.all-2.com>
> А есть какие нибудь наработки по этому поводу?
Ну к примеру можете повесить что-то подобное:
/etc/ppp/ip-up.d/upscript
--cut--
echo `date +%s`":U:${IFNAME}:${IPREMOTE}:${PEERNAME}" >> /var/log/ppp/sessions.log
--cut--
/etc/ppp/ip-up.d/downscript
--cut--
echo `date +%s`":D:${CONNECT_TIME}:${BYTES_SENT}:${BYTES_RCVD}:${IFNAME}:${IPREMOTE}:${PEERNAME}" >> /var/log/ppp/sessions.log
--cut--
Мм логика я думаю ясна.
man pppd
--
Written under -< Mark Knopfler - Donegan's Gone >- playing in xmms
----
Jaa mata,
Net administrator JSC "Giprosvyaz" Andrey A. Jelnin aka BsoD
e-mail: <bsod@gs7.ru>
icq: 112600159
next prev parent reply other threads:[~2005-01-18 12:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 11:13 Alexander All2
2005-01-18 11:39 ` Nizamov Shavkat
2005-01-18 12:18 ` Alexander All2
2005-01-18 12:29 ` Andrey A. Jelnin
2005-01-18 12:30 ` Alexander All2
2005-01-18 12:39 ` Andrey A. Jelnin [this message]
2005-01-20 11:28 ` Alexander All2
2005-01-20 11:42 ` Andrey A. Jelnin
2005-01-20 12:10 ` Alexander All2
2005-01-20 12:44 ` Andrey A. Jelnin
2005-01-20 12:48 ` Alexander All2
2005-01-21 8:20 ` Andrey A. Jelnin
2005-02-16 8:38 ` [Comm] [JT]подсчет " Alexander All2
2005-01-18 12:30 ` [Comm] подсчет " Nizamov Shavkat
2005-01-18 12:43 ` Andrey A. Jelnin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050118163937.50ae0dac.bsod@gs7.ru \
--to=bsod@gs7.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git