in reply to Re: RE: RE: Getting a Local/Remote Win32 Task List
in thread Getting a Local/Remote Win32 Task List

use strict; use Win32::PerfLib; my $h='hostname'; my %tasks=get_remote_process_list($h); foreach my $key(keys %tasks){ print "$key\t$tasks{$key}\n"; }
/cab

Replies are listed 'Best First'.
Re^5: Getting a Local/Remote Win32 Task List
by Anonymous Monk on Jun 16, 2004 at 14:25 UTC
    Hello I keep getting this error: Unrecognized character \xAD at test.pl line 5. when ever I try to use win32 process libs any one knows a fix?
      remove that character (don't embed unicode in sourcecode when you don't know how it works)
Re^5: Getting a Local/Remote Win32 Task List
by Anonymous Monk on Jul 01, 2004 at 11:44 UTC
    I get a complaint that it cannot find the get_remote_.al in @INC (it had no problem with Use Win32::PerfLib) I actualy looked at PerfLib.pm and do not see any such function there BTW, I am using Win 2000, does PerfLib work there too or jusr in NT?