Closed theresia closed 12 years ago
try:
python manage.py --target-output /dev/null wget http://www.google.com
Also, did you run setup.py?
my bad, just realized that I omitted the call to python interpreter :-/.
this works:
tre@local [/home/tre/monner]# python ./monner.py --target-output /dev/null wget http://www.google.com
Installed from pip, ran the example, get the following error:
$ monner.py --target-output /dev/null wget http://www.google.com
/home/andy/.local/bin/monner.py: line 4: KILOBYTES: command not found
/home/andy/.local/bin/monner.py: line 5: MEGABYTES: command not found
/home/andy/.local/bin/monner.py: line 7: syntax error near unexpected token `('
/home/andy/.local/bin/monner.py: line 7: `def _get_cpu_stats():'
Doh I understand. Same problem.
Hello! Latest version (as of about 2 minutes ago) just uses monner:
monner --target-output /dev/null wget http://www.google.com
I tried running it:
tre@local [/home/tre/monner]# ./monner.py --target-output /dev/null wget http://www.google.com import: unable to open X server
'. import: unable to open X server
'. ./monner.py: line 4: KILOBYTES: command not found ./monner.py: line 5: MEGABYTES: command not found ./monner.py: line 7: syntax error near unexpected token(' ./monner.py: line 7:
def _get_cpu_stats():'