Closed GoogleCodeExporter closed 9 years ago
Are you running as root?
You have to run your Python script as root in order to use psutil functions
that read information from another process. This is part of the security model
on OS X which does not allow one process to read from another process even if
they are owned by the same user. Run your script as 'sudo python myscript.py'
for example, and you should be able to get CPU information for other processes.
Original comment by jlo...@gmail.com
on 27 Feb 2012 at 4:07
Original issue reported on code.google.com by
g.willgo...@telluricresearch.com
on 27 Feb 2012 at 6:01