Skip to main content

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 (2010-08-27)

  • fixed nameerror

  • added some tests

0.2 (2010-08-26)

  • first public release

Download files

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

Source Distribution

monitcall-0.3.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file monitcall-0.3.tar.gz.

File metadata

  • Download URL: monitcall-0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for monitcall-0.3.tar.gz
Algorithm Hash digest
SHA256 f02bb800ea0f21f88485a5a98d5484b2ca6697a3292e13f11affc0d40ae55df8
MD5 70bfb3820d9feafbc4c721f6d14db183
BLAKE2b-256 8936f720040fb6ad7ede2e28c6851b6ffdc4603c125d6d094e74da62493eac6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page