Server consumption

Ask questions, request features, or just complement us about our software and services.
Post Reply
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Server consumption

Post by Marconny »

Hi!

Can I put on my web site info about server consumption in percent?

It look\'s better than 7/10 listeners :)

Thanx
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

if you are using the script interface you can do anything you like.

Just modify the php code to convert that stat to percentage.
- Jay
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Post by Marconny »

unfortunatly i'm on windows server so that PHP is not working :cry:
Is there any other way?

Thanks for fast replay!
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Post by Marconny »

Hi

Can you please say wht code for that would be?
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

php code. I don't have the scripts in front of me but your calculations would go

($max_listeners / $listeners) * 100
- Jay
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Post by Marconny »

I’m sorry to be so boring but i'm no programmer :cry: I tried to do something with your example but nothing happened.

Please, if you have time to paste whole code for me I would be grateful to death :lol:

P.S. Sorry for my English and greetings from Croatia!
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Post by Marconny »

Please Jay it’s just copy and paste for you an impossible to me :?
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

sorry, it is not just a copy and paste, if it were that simple I would have given it to you. The fact is I have to develop it and I simply do not have time to do that. Plus I really would like to see users building that end, as I have done the entire backend for you. The example I gave is basically how you do it. I would suggest you learn php. You can do so by going to www.php.net not only will it solve your current problem, but any others you have in the future. If you are willing to wait a while I might make this available in the next release.
- Jay
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Post by Marconny »

OK, sorry :(
I saw it in your signature and I thought that it should be easy to do it.
That's how much I understand PHP and all other programming stuff :lol:

But thanks anyway an keep up the good work!
User avatar
Sc-Pro
Stream Host
Posts: 16
Joined: Tue Nov 08, 2005 3:55 pm
Location: va
Contact:

Post by Sc-Pro »

my ? would b.. y are u on a windows server??
http://scproradio.com Uplifting beats 24/7 Rock,Trance & Hip Hop..
http://shoutcastpro.com The ShoutCast host the offers you the most..
Marconny
Posts: 7
Joined: Sun Mar 27, 2005 11:58 pm
Contact:

Post by Marconny »

Yes i'm on Windows server! Please tell me that you have some ASP solution! :D
Post Reply