From: Phillip Gawlowski Date: 2011-09-17T22:37:38+09:00 Subject: Re: ruby task monitoring On Sat, Sep 17, 2011 at 7:22 AM, Chase Wilson wrote: > > I want to use ruby to monitor other programs that are running in > Windows. Is there anyway to access information about other programs > through ruby? If not does anyone know any useful windows command line > commands to find out that kind of information. PS C:\ > get-process | select-object -Property Id, Name, CPU, Path, Company, FileVersion, WorkingSet PS C:\ > Get-WmiObject Win32_NetworkAdapterConfiguration In other words: Check out PowerShell, and Windows Management Instrumentation. And, to cover your ass, get a green-light by legal / a higher up. User monitoring can get you into legal trouble really fast. -- Phillip Gawlowski gplus.to/phgaw | twitter.com/phgaw A method of solution is perfect if we can forsee from the start, and even prove, that following that method we shall attain our aim.               -- Leibniz