CPAN is your friend, as always. (there is even a nifty nodelet in User settings
Try Proc::ProcessTable if you are on unix... or search
for 'Proc' on search.cpan.org.
"We are not alone"(FZ)
I was curious about Win32 solutions. I couldn't find a dedicated
module on CPAN. Did some Super search. No obvious answers.
But with some more digging I found monitor.pl and Re: WIN32 calls,
they can be useful starting points (Getting a Local/Remote Win32 Task List is not very different,