Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
How to monitor dedicated server bandwidth usage??
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

How to monitor dedicated server bandwidth usage??

I got dedi from online.net and I want to monitor my bandwidth usage. How can I do that??
I did search on google and didnt get useful answer.
I dont want complex program that hard to install.. simpler is better

Sorry for my bad English

Comments

  • vnstat

    Thanked by 1Vpscraze
  • @Darwin said:
    vnstat

    thanks :)

    Sorry for my bad English

  • MassNodesMassNodes Member
    edited November 2013

    I learned a pretty cool track of just using iptables.

    Simply add a rule for the IP address (ie 192.168.0.117):
    iptables -A FORWARD -s 192.168.0.117
    iptables -A FORWARD -d 192.168.0.117
    
    To view the In/Out:
    iptables -nv -L FORWARD
    (add 'x' as arg if want in bytes)
    
    I wrote another little command to display it in terms of GB per IP:
    iptables -nvx -L FORWARD | awk '{print $2}' | tail -n +3 | awk '{s+=$1} END {print s/1024/1024/1024}'
    • Al
  • Online.net also have a monitoring menu in the console area. But we can also install vnstat :

    # wget http://humdi.net/vnstat/vnstat-1.11.tar.gz
    # tar xf vnstat-1.11.tar.gz
    # cd vnstat*
    # make && make install
    # cp examples/vnstat.cron /etc/cron.d/vnstat
    # vnstat
    # vnstat -u -i interface
    

    Also install iftop to monitor the conenction

    Thanked by 2DalComp woochun
  • drserverdrserver Member, Host Rep

    you have that integrated into online panel. Click on your server, then you have statistics, later you have daily, weekly and monthly bandwidth graphs with legend.

    Unmetered servers starting from $12.00 USD p/m. Xeon® E-2134 for $50.00 p/m ||| Xeon® Silver 4110 for $80.00 p/m
    Live server stock ||| Feel free to contact me for custom deal.

  • AlexanderMAlexanderM Top Provider

    Vnstat is nice.

    HostUS | OpenVZ & KVM VPS in 10 worldwide locations with our own Breeze Panel!
    AS7489 | View our network | LIR Services - IPv4, IPv6, ASN | Latest Special Offers!

  • Ifconfig (network adapter)
    Ex: ifconfig eth0

    VPSCraze.com - VPS Hosting | FTP Backup Storage | Instant Setup - Chicago, IL [US]

  • @Vpscraze said:
    Ifconfig (network adapter)

    That's the worst way to monitor your bandwidth :/

    The count is reset after a reboot, it doesn't show by hour/day/month/whatever, and it can't separate by IP/alias.

  • agentmishraagentmishra Member, Provider

    simply go for ifconfig
    the tx/rx shows the data usage...

    skype id : agentmishra, gtalk id : agentmishra, email : [email protected]

  • yah.. online.net have the option.. But I just wanna try other way :) just for fun.. I tried vnstat with frontend.. I happy with it.. I will try other way mentioned later :)
    thanks

    Sorry for my bad English

  • I use vnstat, vnstati is also a great tool to have. If you wanted to generate graphs =)

  • drserverdrserver Member, Host Rep

    observium looks nice

    Unmetered servers starting from $12.00 USD p/m. Xeon® E-2134 for $50.00 p/m ||| Xeon® Silver 4110 for $80.00 p/m
    Live server stock ||| Feel free to contact me for custom deal.

  • BrianHarrisonBrianHarrison Member, Provider

    Are you more interested in live bandwidth usage or total monthly usage? If it's live bandwidth usage you're after, iftop is an excellent tool. We have it installed on all of our machines.

    Reprise Hosting (AS62838) Intel Xeon L5520, 1TB SATA, 4GB RAM, 10TB BW, $27/mo with DED10 promo! Cheap dedicated servers.
    VPSHostingDeal.com - Low-cost self-managed OpenVZ + Xen cheap VPS hosting. Plans starting at $12 PER YEAR! Cheap VPS.

Sign In or Register to comment.