07 Feb 2019 22:38:02 UTC
- Distribution: Proc-ProcessTable
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (26)
- Testers (1373 / 145 / 0)
- KwaliteeBus factor: 3
- 61.07% Coverage
- License: perl_5
- Activity24 month
- Download (71.23KB)
- 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.