ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim <max_conf@e-foto.ru>
To: Ivanov Maxim <community@altlinux.ru>
Subject: Re: [Comm] Учет трафика
Date: Wed, 31 Mar 2004 13:27:37 +0400
Message-ID: <1537000688.20040331132737@e-foto.ru> (raw)
In-Reply-To: <184517498203.20040331130948@amos.ru>

Здравствуйте, Ivanov.

Вы писали 31 марта 2004 г., 13:09:48:

IM> Здравствуйте, community.

IM> Господа, посоветуйте что-нить.
IM> Есть машинка P166MMX 64Mb RAM 6Gb HDD
IM> На ней две сетевухи.
IM> Она _только_ маршрутизатор. Больше ничего.
IM> Хочу считать трафик БЕЗ какого-либо блокирования БЕЗ лимитов и прочее.
IM> Только для сравнения с теми цифрами, что выдает мне провайдер.
IM> apt-cache search выдал следующее:

IM> NeTraMet - NeTraMet - a network traffic accounting meter
IM> netacct-mysql - A tool for loging an IP traffic passing throghput interfaces
IM> trafshow - A tool for real-time network traffic visualization
IM> trafshow-linux - An ncurses-based IP traffic monitoring tool
IM> iptraf - IPTraf - console-based network statistics utility for Linux
IM> iptraf-doc - Manual pages for IPTraf
IM> knetload - Network traffic monitor
IM> perl-IPChains - Perl modules to manipulate linux firewall chains.
IM> iplog - Logs TCP, UDP, and ICMP connections to syslog.
IM> arpwatch - Network monitoring tools for tracking IP addresses on the network.
IM> dsniff - Network audit tools
IM> mrtg - Multi Router Traffic Grapher
IM> ethereal-base - ethereal base package


IM> Что посоветуете? Машинка медленная, поэтому подозреваю всякие MySQL
IM> тут не прокатят. Мне же все по-простому надо: посчитал, цифру за месяц
IM> получил (общего трафика), с провайдером сравнил, живу дальше счастливо.
IM> Меня даже не сильно волнует тип трафика (почта, интернет или еще что).
IM> Хотелось бы чтобы это все настраивалось легко и не потребовалось бы
IM> танца с бубном.

IM> Прошу совета.

кажется самый простой способ это настройка правил Iptables и потом каждый день
выдаешь команду:

iptables -L -n -v -Z >> mytrafficcount.log

Ну а дальше или на перле обрабатываешь, или на калькуляторе складываешь дридцать
значений и получаешь трафик.

-- 
С уважением,
 Maxim                          mailto:max_conf@e-foto.ru







  parent reply	other threads:[~2004-03-31  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31  9:09 Ivanov Maxim
2004-03-31  9:12 ` Sergey Ogarkov
2004-03-31  9:27 ` Maxim [this message]
2004-03-31  9:32 ` Maxim
2004-03-31  9:32 ` Eugene Prokopiev

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=1537000688.20040331132737@e-foto.ru \
    --to=max_conf@e-foto.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