-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sensors_temperatures() return {} on my CentOS system #971
Comments
It's because of this line in basenames = sorted(set(
[x.split('_')[0] for x in
glob.glob('/sys/class/hwmon/hwmon*/temp*_*')])) I'll submit a PR to fix this issue. |
This makes me sad. I wonder why |
Doesn't |
No. :( It's probably best to use |
Dang! I could probably whip something up using |
Performance isn't really a concern in this case. The whole tree should be way less than 100 files/dirs in total. |
Can you try 561f32a? I ruled out |
@giampaolo I figured, |
So did you test this? Does it work? |
@giampaolo I don't have a CentOS system. User who opened the issue does. |
@giampaolo Works like a wharm on my CentOS 7.1 system:
|
Cool. I will package a 5.1.3 version soon. |
OK, new version is out. |
On my CentOS 7.1 system with PsUtil 5.1.2.
I have the following sensors:
But sensors_temperatures() return {}:
The text was updated successfully, but these errors were encountered: