20 Jun 2019 19:35:05 UTC
- Distribution: Proc-ProcessTable
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (26)
- Testers (3910 / 262 / 0)
- KwaliteeBus factor: 3
- 61.76% Coverage
- License: artistic_2
- Perl: v5.6.0
- Activity24 month
- Download (74.17KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SYNOPSIS pswait [options] [process ID|NAME ...]
- USAGE pswait [options] [process ID|NAME ...]
pswait - waiting for process(es) to end before doing things
Options: -h --help brief help message -v --verbose be verbose -e --exit exit after first process end -s x --sleep x set sleep time to x second (default to 1)
- -e, --exit
When giving a list of process to watch, exit when the first process end, it is usefull to easily manage a pool of proces with a shell script.
- -h. --help
Print a brief help message and exits.
- -s x, --sleep x
set sleep time to x seconds between process checking, default to 1 second. On small machines (or overloaded machines) it could help to check process state only once every minutes instead, using for example -s 60
- -v, --verbose
Inform you on what happening ... which process ends, which process ID are watched for state (usefull when using process names on command line).
pswait will read the process table of the system and wait for some process to end
Module Install Instructions
To install Proc::ProcessTable, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Proc::ProcessTable
For more information on module installation, please visit the detailed CPAN module installation guide.