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

  • fixed binary

0.3 (2010-08-27)

  • fixed nameerror

  • added some tests

0.2 (2010-08-26)

  • first public release

Release files for monitcall 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monitcall 0.3.1
File Size Uploaded
monitcall-0.3.1.tar.gz 4.2 kB Details

Release files / monitcall-0.3.1.tar.gz

Download URL monitcall-0.3.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0fe4b54d9df57f4fe323ac6a7d3306b3ff0b3a92dec480ae34582473a53505aa
BLAKE2b-256 checksum
How to use checksums
86a06adcdd7dd73eebb68ab70ef74708b95b8adbabf06e219db422613fef8b9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page