system info

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sat Apr 02, 2005 6:12 pm    Post subject: system info Reply with quote

Is it possible to display things like:

System Uptime
CPU Usage
Memory Usage
Own IP Address

of my server using PHP? I use SigX at the moment but the program is keeping my hard drive alive and I want it to spin down after no activity for a while.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Apr 03, 2005 6:34 pm    Post subject: Re: system info Reply with quote

The Inquisitor,

You can get this information by calling the appropriate Win32 API functions as in the following example: http://www.programmershelp.co.uk/showcode.php?e=467 .

You can also find more information in the PHP manual in the chapter about "W32api Functions": http://www.php.net/manual/en/ref.w32api.php .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
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 phpBB Group