Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change how commands are specified once again..

  • Loading branch information...
commit 46f19a35352d5757817275b5802769d671b4d1bd 1 parent f45f16d
@colinhowe authored
Showing with 8 additions and 4 deletions.
  1. +5 −1 README.rst
  2. +2 −2 monner.py
  3. +1 −1  setup.py
View
6 README.rst
@@ -26,7 +26,7 @@ Install from source::
Run::
- monner --target-output /dev/null -c wget http://www.google.com
+ monner --target-output /dev/null wget http://www.google.com
The option --target-output will redirect stdout and stderr for the target
program.
@@ -38,6 +38,10 @@ Sample output::
100.0 3470.9 50.7 0.0
100.0 3470.8 2.2 0.0
+If you need command line arguments for the target::
+
+ monner -- wget -V
+
Fields Available
================
View
4 monner.py
@@ -107,8 +107,8 @@ def main():
parser.add_argument('-f', '--fields',
help='Fields to display.', nargs='*',
default=default_fields, choices=_calculations.keys())
- parser.add_argument('-c', '--command', dest='command', nargs='+',
- required=True, help='Command to run, including arguments')
+ parser.add_argument('command', nargs='+',
+ help='Command to run, including arguments')
args = parser.parse_args()
go(args.command, args.target_output,
View
2  setup.py
@@ -9,7 +9,7 @@
setup(
name='monner',
- version='0.4.1',
+ version='0.5.0',
description='Monitors the system whilst executing a given program',
url='https://github.com/colinhowe/monner',
author='Colin Howe',
Please sign in to comment.
Something went wrong with that request. Please try again.