Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl under Windows - retrieve process usage

Status
Not open for further replies.

RudiVVC

IS-IT--Management
Sep 23, 2002
41
DE
Hello folks!

Has anybody an idea, how perl is able to retrieve
Windows-process-information like CPU-usage, RAM-usage, etc.?

A solution for Win NT 4.0 and XP would be very helpful for me.

regards
Rudi
 
Personally I use the modules:

use Win32::EventLog;
use Win32::SystemInfo;
use Win32::DriveInfo;

to poll my NT/2K/XP boxes.
I can't get real processor usage directly, but I use MRTG for that, so it's no big deal. I use the rest for those boxes that aren't on a permanent link, they upload a log file to a central point each day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top