From: Vitaly Ostanin <vyt@vzljot.ru>
To: community@altlinux.ru
Subject: [Comm] Re: Посчитать трафик за сутки...
Date: Wed, 02 Mar 2005 17:41:01 +0300
Message-ID: <4225D07D.8060506@vzljot.ru> (raw)
In-Reply-To: <20050302131536.E3EB.EVGEN@tulanews.ru>
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
Евгений пишет:
> Всем привет.
>
> Стоит задача считать общий внешний трафик за сутки.
> Его вроде как можно снять через ifconfig (пишет сколько прошло через
> интерфейс)
> Но после снятия это значение нужно обнулить.
> Есть какие-нибудь идеи?
Читать доку на iptables (ipchains). У меня работало заклинание:
iptables -t mangle -nxvL -Z
вывод клался в базу.
<skipped/>
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2005-03-02 14:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-02 10:18 [Comm] " Евгений
2005-03-02 10:29 ` Sergey Ogarkov
2005-03-02 10:44 ` Евгений
2005-03-02 10:54 ` Овечкин Влад
2005-03-02 10:59 ` Евгений
2005-03-02 11:14 ` Sergey Lebedev
2005-03-02 11:20 ` Grigory Fateyev
2005-03-02 11:35 ` [Comm] [JT] " Sergey Lebedev
2005-03-02 12:08 ` Евгений
2005-03-02 12:14 ` Denis Klykvin
2005-03-04 6:15 ` Igor Solovyov
2005-03-04 8:20 ` Igor Kuptsov
2005-03-02 14:41 ` Vitaly Ostanin [this message]
2005-03-03 7:24 ` [Comm] " Евгений
2005-03-03 0:15 ` [Comm] " Alexey S. Kuznetsov
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=4225D07D.8060506@vzljot.ru \
--to=vyt@vzljot.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