error when running on OSX #18

Open
johnmontero opened this Issue Jan 23, 2013 · 3 comments

Comments

Projects
None yet
3 participants

(env) : monitoring
Traceback (most recent call last):
File "/Users/john/.virtualenvs/env/bin/monitoring", line 2, in
import sys, monitoring
File "/Users/john/.virtualenvs/env/lib/python2.7/site-packages/monitoring.py", line 1637, in
System.CPUStats()
File "/Users/john/.virtualenvs/env/lib/python2.7/site-packages/monitoring.py", line 471, in CPUStats
time_list = cat("/proc/stat").split("\n")[0].split(" ")[2:6]

Owner

sebastien commented Jan 25, 2013

Hi John. I'n not sure you have the full traceback... I'd need the exception, but my guess is that OSX doesn't have the /proc filesystem. Can you confirm?

Not exists this filesystem.

Maybe help you Captainkrtek/OpenRelay#7

Contributor

rantav commented Jun 1, 2014

I believe this solves this problem ad4f761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment