Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install monitcall

How to install monitcall

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install monitcall
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3.1 Available View build log
Windows (64-bit)
0.3.1 Available View build log
Mac OS X (10.5+)
0.3.1 Available View build log
Linux (32-bit)
0.3.1 Available View build log
Linux (64-bit)
0.3.1 Available View build log
 
Author
License
ZPL 2.1
Dependencies
Imports
Lastest release
version 0.3.1 on Jan 5th, 2011

Monitcall is a small script to run executeables and watch for deadlocks in the process.

Usage:

System Message: WARNING/2 (<string>, line 10)

Literal block expected; none found.

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:

System Message: WARNING/2 (<string>, line 24)

Literal block expected; none found.

monitcall wvWare -a '-c utf-8 --nographics mydocument.doc'

Known issues:

  • The argument string must not start with -a. Like this:

    System Message: WARNING/2 (<string>, line 31)

    Literal block expected; none found.

... -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

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.