Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

RE: RE: Getting a Local/Remote Win32 Task List

by gaggio (Friar)
on Jul 06, 2000 at 23:09 UTC ( [id://21365]=note: print w/replies, xml ) Need Help??


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

You can pass either (machine name or IP). Try it, it is working here (I litteraly did a "cut-and-paste" from within my NT remote controlling project - yes, I actually wrote one).
  • Comment on RE: RE: Getting a Local/Remote Win32 Task List

Replies are listed 'Best First'.
Re: RE: RE: Getting a Local/Remote Win32 Task List
by RayRay459 (Pilgrim) on Aug 07, 2001 at 01:28 UTC
    gaggio, i tried using your little tidbit and it is awesome. you rock! Being a beginner in perl, i was wondering if you know how to format the info displayed from the remote tlist? Thanks in advance. Ray
      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
        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?
        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?
      Well, you can simply use the printf function!
      It is just like in C++.
      Go to PerlDoc.com or simply type "printf" in the search box at the top of the page!
      Printf should be used only if you really need to. Most of the formatting can be done with the print() function.
        or actually type printf in the search box at the top of this page...

        Greetz
        Beatnik
        ... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://21365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-20 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found