You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case there is no way to distinguish the sensors for each DIMM or to distinguish the two nvme devices.
Describe the solution you'd like
Some kind of device identifier can be passed similar to the output of sensors in this case.
spd5118-i2c-16-51
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1: +26.2°C (low = +0.0°C, high = +55.0°C)
(crit low = +0.0°C, crit = +85.0°C)
spd5118-i2c-16-50
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1: +30.0°C (low = +0.0°C, high = +55.0°C)
(crit low = +0.0°C, crit = +85.0°C)
nvme-pci-0300
Adapter: PCI adapter
Composite: +18.9°C (low = -0.1°C, high = +76.8°C)
(crit = +78.8°C)
nvme-pci-0400
Adapter: PCI adapter
Composite: +20.79°C (low = -0.1°C, high = +76.8°C)
(crit = +78.8°C)
In this case the device bus (i2c/pci) and address (16-51,0300) are used to create distinct names. This is generally pretty nice, but im not sure what the precise scheme they use is. Generally this is fine though for things like nvme it would be nice to report the device (nvme0) instead of just the subsystem (nvme) + pci address (0300) but these seem kind of rare or require recent kernels as I dont see this except on one machine.
Describe alternatives you've considered
Do nothing and cry as temperature data gets mixed up downstream of psutil.
Additional context
Im happy to contribute something like the subsystem+address scheme into the struct if it sounds reasonable or just slamming them into an opaque device string to be more cross platform. Probably need more devices to test on than just what I have lying around though.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The current output of sensors might be
In this case there is no way to distinguish the sensors for each DIMM or to distinguish the two nvme devices.
Describe the solution you'd like
Some kind of device identifier can be passed similar to the output of
sensors
in this case.In this case the device bus (
i2c
/pci
) and address (16-51
,0300
) are used to create distinct names. This is generally pretty nice, but im not sure what the precise scheme they use is. Generally this is fine though for things like nvme it would be nice to report the device (nvme0
) instead of just the subsystem (nvme
) + pci address (0300
) but these seem kind of rare or require recent kernels as I dont see this except on one machine.Describe alternatives you've considered
Do nothing and cry as temperature data gets mixed up downstream of psutil.
Additional context
Im happy to contribute something like the subsystem+address scheme into the struct if it sounds reasonable or just slamming them into an opaque
device
string to be more cross platform. Probably need more devices to test on than just what I have lying around though.The text was updated successfully, but these errors were encountered: