Page 1 of 1
Server Performance Monitor
Posted: Mon Sep 13, 2004 1:25 pm
by fangorn
I've been asked to write a PHP script that will gather server health statistics such as CPU Utilization, total memory and available memory. I wrote a nice script on my XP machine which utilized command line arguments to the Windows Performance Monitor for CPU Utilization and MSInfo32 for memory information. This works quite well. It was after that that I've found out that the customer is using a Windows 2000 Server - which is before command line arguments to PerfMon were added. I also looked at pear.php.net, but didn't see any server health statictics modules. Has anyone written such a script? Which programs did you use to generate this information?
Posted: Mon Sep 13, 2004 3:54 pm
by timvw
Posted: Tue Sep 14, 2004 9:49 am
by fangorn
That would be awesome if it worked for Windows!!! Sorry, I don't think I listed my OS.
Posted: Tue Sep 14, 2004 9:54 am
by m3mn0n
Yeah you mentioned "XP" and "Windows" a couple times.
Anyway,
WinSysInfo is what you need.
http://www.google.ca/search?hl=en&ie=UT ... load&meta=
Posted: Tue Sep 14, 2004 12:38 pm
by fangorn
Sami, that sounds exactly like what I need. However, every page I went to to try to download it pointed to a web site that wasn't found. Very frustrating. Do you have any comparable suggestions?
Posted: Tue Sep 14, 2004 2:01 pm
by feyd
could write your own exe...
Posted: Tue Sep 14, 2004 4:05 pm
by timvw
on windows, i always used moo.dll for my sysinfo in mirc scripts

Posted: Tue Sep 14, 2004 7:20 pm
by d3ad1ysp0rk
fangorn wrote:Sami, that sounds exactly like what I need. However, every page I went to to try to download it pointed to a web site that wasn't found. Very frustrating. Do you have any comparable suggestions?
http://prdownloads.sourceforge.net/phps ... z?download
Posted: Wed Sep 15, 2004 1:14 am
by m3mn0n
LiLpunkSkateR wrote:fangorn wrote:Sami, that sounds exactly like what I need. However, every page I went to to try to download it pointed to a web site that wasn't found. Very frustrating. Do you have any comparable suggestions?
http://prdownloads.sourceforge.net/phps ... z?download
PHPSysInfo and WinSysInfo are two seperate programs...he needs the Win32 version with EXE's.
Well I will zip it up from my localhost and upload it:
here you go
Enjoy.