psutil on FreeBSD

40 views
Skip to first unread message

sideshow

unread,
Sep 21, 2012, 12:06:53 PM9/21/12
to psutil
Hey all,

I am writing a python script on FreeBSD, and when I try to use psutil
I get some errors. First off when i just imported psutil it would
fail, so now I have import _psutil_bsd. But when I try to do
_psutil_bsd.anything() it tells me that the module does not contain
the attribute. Doesn't work if I do psutil.anything () either.
Any help is appreciated
Thanks

Jay Loden

unread,
Sep 22, 2012, 11:50:01 PM9/22/12
to psu...@googlegroups.com, psutil
If you can provide the error output when you try and import psutil that would help, as well as letting us know what version of FreeBSD and psutil you're using. Importing _psutil_bsd isn't the correct way to use the module, that's an internal module for psutil that contains platform-specific implementations of internal methods.

I believe there was at least one recent patch for FreeBSD so you may want to take a look at the recent issue reports on the Google Code tracker too.

-Jay
> --
> You received this message because you are subscribed to the "Python process utilities (psutil)" project group:
> http://code.google.com/p/psutil
> To post to this group, send email to psu...@googlegroups.com
> To unsubscribe from this group, send email to psutil-un...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/psutil
Reply all
Reply to author
Forward
0 new messages