tud-zih-energy / lo2s

Linux OTF2 Sampling - A Lightweight Node-Level Performance Monitoring Tool
https://tu-dresden.de/zih/forschung/projekte/lo2s?set_language=en
GNU General Public License v3.0
45 stars 13 forks source link

Sensors with multiple scopes #258

Closed tilsche closed 1 year ago

tilsche commented 1 year ago

E.g. on kallisto, this thing

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +27.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 4:        +25.0°C  (high = +80.0°C, crit = +100.0°C)
Core 8:        +23.0°C  (high = +80.0°C, crit = +100.0°C)
Core 12:       +21.0°C  (high = +80.0°C, crit = +100.0°C)
Core 16:       +24.0°C  (high = +80.0°C, crit = +100.0°C)
Core 20:       +20.0°C  (high = +80.0°C, crit = +100.0°C)
Core 24:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 28:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 32:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 33:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 34:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 35:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 36:       +27.0°C  (high = +80.0°C, crit = +100.0°C)
Core 37:       +27.0°C  (high = +80.0°C, crit = +100.0°C)
Core 38:       +26.0°C  (high = +80.0°C, crit = +100.0°C)
Core 39:       +26.0°C  (high = +80.0°C, crit = +100.0°C)

Ends up creating multiple metrics all called exactly the same "coretemp-isa-0000. The scope should be included in the name to disambiguate.