Skip to main content

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: monitcall wvWare -a ‘-c utf-8 –nographics mydocument.doc’

Extracts the contents of the MS-Word document mydocument.doc to an utf-8 text printed on stdout.

Known issues:
  • The option string must not start with -a. Like this:

    … -a ‘-a 4 -c utf-8 …’ This seems to be a bug in the argparse module

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for monitcall, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size monitcall-0.2.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page