Win32-Process-Info
view release on metacpan or search on metacpan
eg/ProcessInfo.pl view on Meta::CPAN
(getopts ('bcdem:n:pr:stu:v:x', \%opt) && !($opt{s} && $opt{x}))
or die <<"usage end";
Testbed and demonstrator for Win32::Process::Info V $Win32::Process::Info::VERSION
usage: perl ProcInfo.pl [options] [pid ...]
where the allowed options are:
-b = brief (PIDs only - uses ListPids, not GetProcInfo)
-c = elapsed times in clunks (100-nanosecond intervals)
-d = formatted dates where applicable
-e = require an <Enter> to exit
-l = slow (lethargic)
-mx = report on machine x (valid only with variant WMI)
-nx = report on process name x (case-insensitive)
-p = pulist output
-rn = number of repeats to do
-s = report SID rather than username with -p
-t = report process tree (overrides -p)
-u user:password = guess (valid only with WMI)
-vx = variant (a comma-separated list of 'WMI', 'NT')
-x = report executable path rather than username with -p
( run in 0.296 second using v1.01-cache-2.11-cpan-05444aca049 )