From: Rahul on 29 Jul 2010 20:58 Joe Beanfish <joe(a)nospam.duh> wrote in news:i2pq48 $e0h(a)news.thunderstone.com: > iptables also has some accounting abilities. > Thanks! I do use iptables for a firewal + NAT but didn't realize it could be used for accounting as well. Will check it out. -- Rahul
From: Arimus on 30 Jul 2010 02:40 On Jul 30, 1:57 am, Rahul <nos...(a)nospam.invalid> wrote: > Thanks! I do have root access to the server. I want some pretty basic info: > e.g. bandwidth used. In that case net-snmp, ntop or using iptables to do accounting (not used ipt personally for accounting so no idea on its feature set in that regard) will give you what you need. net-snmp means you can use your existing mrtg experience, ntop gives you some pretty nice stats and remote 9web) access if you enable it, ipt - not a clue when you use it for accounting - firewalling, nat and packet mangling/marking is more my area of knowlege for ipt.
From: Charles Polisher on 31 Jul 2010 10:24 On 2010-07-30, Arimus <arimus.uk(a)gmail.com> wrote: > On Jul 30, 1:57�am, Rahul <nos...(a)nospam.invalid> wrote: > >> Thanks! I do have root access to the server. I want some pretty basic info: >> e.g. bandwidth used. > > > In that case net-snmp, ntop or using iptables to do accounting (not > used ipt personally for accounting so no idea on its feature set in > that regard) will give you what you need. > > net-snmp means you can use your existing mrtg experience, > ntop gives you some pretty nice stats and remote 9web) access if you > enable it, > ipt - not a clue when you use it for accounting - firewalling, nat and > packet mangling/marking is more my area of knowlege for ipt. Here's a link to a script you can run with cron to monitor the bandwidth tx/rx of a server: http://fixunix.com/slackware/332610-fun-slackware-bandwidth-monitor.html should work with any distribution. -- Charles Polisher
From: zedkay on 11 Aug 2010 10:43 On 07/31/2010 04:24 PM, Charles Polisher wrote: [SNIP] knowlege for ipt. > > Here's a link to a script you can run with cron to > monitor the bandwidth tx/rx of a server: > http://fixunix.com/slackware/332610-fun-slackware-bandwidth-monitor.html > should work with any distribution. # /usr/local/bin/logifx eth0 PANIC: reading ifconfig # ifconfig eth0 eth0 Link encap:Ethernet HWaddr nn:nn:nn:nn:nn:nn inet addr:10.12.24.30 Bcast:10.12.24.255 Mask:255.255.255.0 inet6 addr: fe80::221:70ff:febd:a34f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2540835 errors:0 dropped:0 overruns:0 frame:0 TX packets:2399469 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:920724581 (920.7 MB) TX bytes:278641991 (278.6 MB) Interrupt:17 Dist is Ubuntu 10.04 x64 Opps! :( -- Please do not reply to my Email address. It is a faux Email address. Cyberpunk FPS/MMORG www.neocron.com Runs on Windows, platinum in latest WINE/Ubuntu. Running since 2002.
First
|
Prev
|
Pages: 1 2 Prev: tor privoxy setup Next: ksoftirq consumes >80% CPU on embedded platform |