jucapj / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

More hardware info. #485

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Proposal
I'd love to have more support getting more hardware info. Like resolution, cpu, 
gpu temp, local ip and so on.

On what platforms would this be available?
Linux, osx, windows
Proposed API

Are there existent implementations we can use as an example?
http://forum.xbmc.org/showthread.php?tid=130481&pid=1092843#pid1092843 (how 
xbmc gets it c++)
Please provide any additional information below.

Original issue reported on code.google.com by Pre...@gmail.com on 11 Mar 2014 at 12:20

GoogleCodeExporter commented 9 years ago
I'm not sure what you're trying to propose here exactly.
There are already opened issues for CPU temperature (issue 371) and NIC 
informations (issue 376) so if you have something to contribute in that regard 
please do it there.
If you have something else to propose please try to be less vague.

Original comment by g.rodola on 11 Mar 2014 at 12:55

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 11 Mar 2014 at 2:44

GoogleCodeExporter commented 9 years ago
What i tried to suggest was that i'd like the ability to use psutil get 
information about the hardware on computer which psutil install on.

Fx:
psutil.hardwareinfo.cpu() returns
OrderedDict(name = 'intel core i5 4250u'), temp = '70 celcius')
psutil.hardwareinfo.gpu() returns
OrderedDict(name= 'Intel HD graphics 4000', temp= '72 celcius', driver='random 
driver name.dll')
psutil.hardwareinfo.screen() returns screen resolution,

Original comment by Pre...@gmail.com on 29 Mar 2014 at 7:15

GoogleCodeExporter commented 9 years ago
Those metrics aren't easy to get. 
On Linux you can already use https://pypi.python.org/pypi/PySensors/
On Windows I'm not sure.
Anyway, there's already issue 371. 

Original comment by g.rodola on 31 Mar 2014 at 4:54