Skip to content

tomgross/monitcall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

================
Monitcall README
================

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

About

A python wrapper for calling and monitoring executables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages