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

Re: Checking that local Windows machine is idle

by enoch (Chaplain)
on Feb 04, 2001 at 04:27 UTC ( #56263=note: print w/replies, xml ) Need Help??

in reply to Checking that local Windows machine is idle

SysInternals makes a program called PMon that is free for download and will give you a process listing.
open(LIST, "pmon|"); while(<LIST>) { # analyze output of pmon here... }
Something like above should do the trick. I have never used PMon, so I don't know what the ouput looks like, but I would think it would give you a process's current state in the output.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://56263]
[james28909]: thanks
[james28909]: what i am trying to do is track state of a chat based application. i need to be able to store the channels and such for a user, and when they join a new server/channel i need to be able to update that feild.
[james28909]: do you think OO would best suite that?
[karlgoethebier]: james28909: The last two are not mainstream. You have been warned ;-)
[karlgoethebier]: james28909: I don't know. Try it.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-05-25 16:33 GMT
Find Nodes?
    Voting Booth?