Hi
Miss123, and welcome to PerlMonks! :-)
Short answer: look at
PsTools of
Sysinternals. It is a dedicated tool for remote administrative tasks on Windows systems, and is probably closest to what you need.
PsExec allows you to execute processes remotely, whereas
PsList gives detailed information of already-running processes.
Even with these tools, you may find the need to do some extra processing. Perl is a great glue language that can interact with PsTools so you can do more, like verifying and acting on the output results.
Is this possible in Perl? ... I am using Windows Vista
Yes, this is possible using Perl. I say this based on the general description of your requirements. Don't take my word for it, the best way is to jump in and try out Perl to get familiar. Since you're on Windows, you can try installing either of the two Perl flavors:
Strawberry Perl or
ActivePerl. But before you do that, please read on...
Is it too hard for a beginner?
Being new to Perl, you will definitely need to
spend time learning the
language, and to use
modules to help with achieving your specific tasks. If in the future you see yourself needing to perform many more customized tasks (i.e. not provided by readily downloadable utility programs on the Internet), then by learning Perl you will reap immense benefits in the long term.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.