| View previous topic :: View next topic |
| Author |
Message |
lumpy
Joined: 27 Sep 2009 Posts: 1
|
Posted: Sun Sep 27, 2009 4:28 pm Post subject: display Icecast stats in console |
|
|
Is there a way to display icecast statistics like in shoutcast console?
please, look at this example:
Regards.  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 27, 2009 7:56 pm Post subject: |
|
|
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 |
|
 |
volk1
Joined: 30 Sep 2009 Posts: 4
|
Posted: Wed Sep 30, 2009 5:11 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 30, 2009 5:48 pm Post subject: |
|
|
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 |
|
 |
volk1
Joined: 30 Sep 2009 Posts: 4
|
Posted: Wed Sep 30, 2009 6:07 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 30, 2009 7:14 pm Post subject: |
|
|
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 |
|
 |
volk1
Joined: 30 Sep 2009 Posts: 4
|
Posted: Wed Sep 30, 2009 7:28 pm Post subject: |
|
|
sorry, for any misunderstood questions...
and of course, the password is corectly typed.
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 30, 2009 7:47 pm Post subject: |
|
|
As I've already indicated twice now, specify either - or con (for win32) as the log filename.
karl. |
|
| Back to top |
|
 |
volk1
Joined: 30 Sep 2009 Posts: 4
|
Posted: Wed Sep 30, 2009 8:42 pm Post subject: |
|
|
thank you very much...
best regards. 
Last edited by volk1 on Thu Oct 01, 2009 12:35 am; edited 2 times in total |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Sep 30, 2009 11:51 pm Post subject: |
|
|
con isn't a command, it a special case file name like prn and lpt
karl. |
|
| Back to top |
|
 |
|