Win32::Utilization - Perl extension for Win32 system utilization
use Win32::Utilization; my $cpu = CPU_per(); my $mem = mem_per(); my $c = drive_per('c');
There lacks a module to detect win32 system utilization in CPAN. I simply wrap some Windows API for easy using under perl.Note: it automatically export 3 funcations when using it, and all three return a 0-100 number to show utilization respectly.
mem_per for mem CPU_per for CPU drive_per for hard disks
xiaoyafeng: please mail to email@example.com for any issues.
Copyright (C) 2012 by xiaoyafeng
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.