Call and monitor executables
Project description
Monitcall is a small script to run executeables and watch for deadlocks in the process.
Usage:
monitcall [-h] [-a ARGS] [-t CYCLES] [-l LIMIT] [-s SIGNAL] [-d DEBUGLOG] [-v] cmd
The script will call the given command (CMD) together with the given arguments (ARGS). If the CPU usage of the command is higher than the given limit (LIMIT) for more than CYCLES cycles the command is killed with the signal SIGNAL.
Example:
To extract the contents of a MS-Word document mydocument.doc to an utf-8 text printed on stdout call:
monitcall wvWare -a '-c utf-8 --nographics mydocument.doc'
Known issues:
The argument string must not start with -a. Like this:
... -a '-a 4 -c utf-8 ...'This seems to be a bug in the argparse module
Change history
0.3.1 (2010-08-27)
fixed binary
0.3 (2010-08-27)
fixed nameerror
added some tests
0.2 (2010-08-26)
first public release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file monitcall-0.3.1.tar.gz
.
File metadata
- Download URL: monitcall-0.3.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe4b54d9df57f4fe323ac6a7d3306b3ff0b3a92dec480ae34582473a53505aa |
|
MD5 | 15c3faa87cf6188e4f281ba8ada5ca55 |
|
BLAKE2b-256 | 86a06adcdd7dd73eebb68ab70ef74708b95b8adbabf06e219db422613fef8b9e |