Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

display Icecast stats in console

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
lumpy



Joined: 27 Sep 2009
Posts: 1

PostPosted: Sun Sep 27, 2009 4:28 pm    Post subject: display Icecast stats in console Reply with quote

Is there a way to display icecast statistics like in shoutcast console?

please, look at this example:


Regards. Wink
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Sep 27, 2009 7:56 pm    Post subject: Reply with quote

The console can be a very slow device, but if you really want it then you can use - as the log filename or maybe something specific to the OS like /dev/stdout or con

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
volk1



Joined: 30 Sep 2009
Posts: 4

PostPosted: Wed Sep 30, 2009 5:11 pm    Post subject: Reply with quote

tell me if you know. in windows os, it's possible to start icecast in console_mode with displayed realtime statistics, or an alternative to put some commands in the -shortcut (win32) to do that ??

Last edited by volk1 on Thu Oct 01, 2009 12:44 am; edited 3 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 30, 2009 5:48 pm    Post subject: Reply with quote

you are asking various things which are different. If you want the contents of the log going to stdout eg the console then do as I've already suggested. What will be sent to stdout will depend on the log level.

If you wish to receive changes to stats only then that is a different question and you can get that by connecting to icecast and issuing a stats feed eg curl -X STATS http://admin:pw@host:port/

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
volk1



Joined: 30 Sep 2009
Posts: 4

PostPosted: Wed Sep 30, 2009 6:07 pm    Post subject: Reply with quote

sorry, but it doesn't work...

Last edited by volk1 on Thu Oct 01, 2009 12:39 am; edited 4 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 30, 2009 7:14 pm    Post subject: Reply with quote

which doesn't work, I mentioned 2 different things based on a vague question. Also "doesn't work" is no good as a description. Would you expect a car mechanic to say what needs to be done to a vehicle based on a problem described as "doesn't work". Maybe you typed the password in wrongly.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
volk1



Joined: 30 Sep 2009
Posts: 4

PostPosted: Wed Sep 30, 2009 7:28 pm    Post subject: Reply with quote

sorry, for any misunderstood questions...
and of course, the password is corectly typed. Smile

So, tell me if exist a command-line (eg -c icecast.xml) for (win32) only, for icecast2console.exe, to be put it in the -shortcut of the program!


Last edited by volk1 on Thu Oct 01, 2009 12:40 am; edited 3 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 30, 2009 7:47 pm    Post subject: Reply with quote

As I've already indicated twice now, specify either - or con (for win32) as the log filename.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
volk1



Joined: 30 Sep 2009
Posts: 4

PostPosted: Wed Sep 30, 2009 8:42 pm    Post subject: Reply with quote

thank you very much... Smile

best regards. Wink


Last edited by volk1 on Thu Oct 01, 2009 12:35 am; edited 2 times in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Sep 30, 2009 11:51 pm    Post subject: Reply with quote

con isn't a command, it a special case file name like prn and lpt

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber