Installation looks okay but running fails. I'm using OSX 10.7.4 with, I believe, the default Python install.
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
[jjohnson@jjohnson ~]$ monner.py --target-output /dev/null wget http://www.google.com
CPU (%) Memory used (mb) Network in (kb) Network out (kb)
Traceback (most recent call last):
File "/usr/local/bin/monner.py", line 5, in
pkg_resources.run_script('monner==0.2.0', 'monner.py')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
Process Process-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 88, in run
self._target(_self._args, *_self._kwargs)
File "/Library/Python/2.7/site-packages/monner-0.2.0-py2.7.egg/EGG-INFO/scripts/monner.py", line 63, in _monitor
File "/Library/Python/2.7/site-packages/monner-0.2.0-py2.7.egg/EGG-INFO/scripts/monner.py", line 38, in output_stats
File "/Library/Python/2.7/site-packages/monner-0.2.0-py2.7.egg/EGG-INFO/scripts/monner.py", line 11, in _get_memory_used
AttributeError: 'module' object has no attribute 'cached_phymem'
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1214, in run_script
exec script_code in namespace, namespace
File "/Library/Python/2.7/site-packages/monner-0.2.0-py2.7.egg/EGG-INFO/scripts/monner.py", line 104, in
File "/Library/Python/2.7/site-packages/monner-0.2.0-py2.7.egg/EGG-INFO/scripts/monner.py", line 86, in go
File "/Library/Python/2.7/site-packages/monner-0.2.0-py2.7.egg/EGG-INFO/scripts/monner.py", line 77, in run_target
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 486, in call
return Popen(_popenargs, *_kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory