Old 17th November 2003, 17:59   #1
g-sus23
Junior Member
 
Join Date: Nov 2003
Posts: 4
port traffic measurement

I am using shoutcast on a Linux system, running multiple shoutcast servers. Now I need exact stastics which shoutcast server uses how much traffic.
does someone know a solution here ?
thanks g-sus
g-sus23 is offline   Reply With Quote
Old 23rd November 2003, 06:53   #2
mightbeyour
Senior Member
 
mightbeyour's Avatar
 
Join Date: Nov 2003
Posts: 262
You are ambiguous as to the word traffic.

If you are basing traffic on the number of connections to each "server" then this will work. Do this for each log. I would put this in a script and run it in cron.daily

#cat sc_serv.log |grep dest | grep -v closed > filenameyouwant

#wc -l filenameyouused

The output of wc -l will give you the number of lines in the file, one line for each connection.
mightbeyour is offline   Reply With Quote
Old 23rd November 2003, 13:43   #3
g-sus23
Junior Member
 
Join Date: Nov 2003
Posts: 4
i think this works pretty fine, thanks a lot
g-sus23 is offline   Reply With Quote
Old 24th November 2003, 00:30   #4
MegaRock
Forum King
 
MegaRock's Avatar
 
Join Date: Jun 2003
Location: Inside my water bong
Posts: 6,865
Send a message via ICQ to MegaRock Send a message via Yahoo to MegaRock
You can also use MRTG and have it check bandwidth to certian ports as well as listener counts using SNMP. I think the website is www.mrtg.com

Megarock Radio - St. Louis Since 1998!
Don't click this link!
Corporate Radio Sucks! No suits, all rock!
MegaRock is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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