-
-
27 May 2007 13:56:52 UTC
- Distribution: Win32-Process-List
- Module version: 0.09
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (216 / 18 / 77)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (6.34KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Win32::Process::List - Perl extension to get all processes and thier PID on a Win32 system
SYNOPSIS
use Win32::Process::List; my $P = Win32::Process::List->new(); constructor my %list = $P->GetProcesses(); returns the hashes with PID and process name foreach my $key ( keys %list ) { # $list{$key} is now the process name and $key is the PID print sprintf("%30s has PID %15s", $list{$key}, $key) . "\n"; } my $PID = $P->GetProcessPid("explorer"); get the PID of process explorer.exe my $np = $P->GetNProcesses(); returns the number of processes
DESCRIPTION
Win32::Process::List is a module to get the running processes with their PID's from a Win32 System. Please look at Win32/Process/List/processes.pl.
EXPORT
None by default.
AUTHOR
Reinhard Pagitsch, <rpirpag@gmx.at>
SEE ALSO
perl.
Module Install Instructions
To install Win32::Process::List, copy and paste the appropriate command in to your terminal.
cpanm Win32::Process::List
perl -MCPAN -e shell install Win32::Process::List
For more information on module installation, please visit the detailed CPAN module installation guide.