CPU Monitor

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kerepuki
Forum Commoner
Posts: 30
Joined: Fri Oct 29, 2004 12:28 am

CPU Monitor

Post by kerepuki »

Hi guys,

I am wondering if someone can point me in the right direction on how to monitor (return value) CPU, memory etc usage on Windows server running xampp server?

Thanks
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: CPU Monitor

Post by social_experiment »

Task manager?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
kerepuki
Forum Commoner
Posts: 30
Joined: Fri Oct 29, 2004 12:28 am

Re: CPU Monitor

Post by kerepuki »

Um yeah, I figured because I posted in a PHP forum it would be a give in that I require it to be done using PHP some how.
User avatar
JAY6390
Forum Newbie
Posts: 20
Joined: Sat Apr 17, 2010 6:51 am
Location: UK

Re: CPU Monitor

Post by JAY6390 »

User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: CPU Monitor

Post by social_experiment »

kerepuki wrote:Um yeah, I figured because I posted in a PHP forum it would be a give in that I require it to be done using PHP some how.
Um no.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
kerepuki
Forum Commoner
Posts: 30
Joined: Fri Oct 29, 2004 12:28 am

Re: CPU Monitor

Post by kerepuki »

Thats what I thought. No harm in checking though.

Thanks
siji86
Forum Commoner
Posts: 30
Joined: Fri Mar 26, 2010 6:15 am

Re: CPU Monitor

Post by siji86 »

i don't know about php, but its possible in C# and Dot Net. In Dot Net you have a set of classes called as Windows Management Instrumentation, which gives you all the system related information.
You could solve your problem by developing a webservice in Dot Net that will retrieve all system related information and you can use PHP to call this Dot Net Web Service.

:D
Post Reply