my @wantedInfoTypes = qw{ Name WorkingSetSize UserModeTime KernelModeTime}; ... for my $infoType ( @wantedInfoTypes ) { print qq{\n$infoType => \n}, q{-} x length $infoType, qq{\n$info->{$infoType}\n}; } ...
I hope this is of use.
Cheers,
JohnGG
Update: NetWallah's output shows that I missed a newline in the print statement which I've now corrected :)
In reply to Re:Win32... CPU/RAM usage
by johngg
in thread Win32... CPU/RAM usage
by mikejones
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |