LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Load Balancer > General > monitor bandwidth usage per virtualhost

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2012, 04:37 AM
werbyvillarino werbyvillarino is offline
Member
 
Join Date: Nov 2012
Posts: 14
Default monitor bandwidth usage per virtualhost

Hello Guys,

I'm new to lightspeed and I have this question, we have a lot of websites (virtualhost) in our current lightspeed server and we would like to know is there a way we could monitor its bandwidth usage per virtualhost?

I came across this article http://blog.webhostingdiscussion.net...-in-apache.htm

Is there a similar tool I could turn-on for this?


Thanks.
Reply With Quote
  #2  
Old 12-11-2012, 05:11 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
you can create a "bytes log" for each virtual host, then calculate the bandwidth usage for each virtual host. I think this is what cPanel has done in this way.
Reply With Quote
  #3  
Old 12-11-2012, 10:38 PM
werbyvillarino werbyvillarino is offline
Member
 
Join Date: Nov 2012
Posts: 14
Quote:
Originally Posted by NiteWave View Post
you can create a "bytes log" for each virtual host, then calculate the bandwidth usage for each virtual host. I think this is what cPanel has done in this way.

The thing is we are not using cPanel is there any alternative without the cPanel?
Reply With Quote
  #4  
Old 12-12-2012, 03:54 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
have to write your own script to analyze the log files to get the bandwidth usage per virtual host, mimic cPanel's perl script.
Reply With Quote
  #5  
Old 12-14-2012, 12:58 AM
werbyvillarino werbyvillarino is offline
Member
 
Join Date: Nov 2012
Posts: 14
Could you point to a sample script for this cause I'm new to parsing bytes log files.

Thanks,
Reply With Quote
  #6  
Old 12-14-2012, 03:48 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
FYI:
http://serverfault.com/questions/146...-host-is-using

it provide an sample with only 1 line awk script.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:29 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.