Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Bandwidth analysis

    My name is toby this is my first post on this forum, so a big hello to all.

    I have just started managing a redhat enterprise server and am slowly feeling my way around.
    I have got 4 live websites running on my server and one in particular is using a lot of bandwidth. I agreed a limit of 2gb per month but have no way of monitoring what each site is using.

    can anyone suggest the best way of getting a monthly bandwidth total for each domain?

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Montreal, Canada
    Do the 4 web site reside on one machine?
    If so, that would be a real pain to be able to track each separatly... I know that you can get bandwith with "grep" for a particular "eth*" but that would be "total bwith...
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Toronto, ON, Canada
    You can use tc for bandwidth management or your limit bandwidth.

    For calculating bandwidth per domain is more tricky.
    This are the ways i will try to attack it

    Mapping diferent domains to diffrent port numbers and configuring apache to listen in those ports. Then using tc to shape traffic based on destination port number. Here are some hints:


  4. $spacer_open
  5. #4
    thanks i'll check all those out. i am currently playing with IPFM (internet protocol flow meter)

    I am new to linux and have spent the day installing it. I think it will do what i want if i can configure it properly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts