Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Adding support for lm_sensors #144

Closed
wants to merge 2 commits into from
Closed

Adding support for lm_sensors #144

wants to merge 2 commits into from

Conversation

sixtyfive
Copy link

Please be kind to me, this is the first time I've done anything in Python...

ISSUE TYPE
  • Feature pull-request
DSTAT VERSION
Dstat 0.7.2
Written by Dag Wieers <dag@wieers.com>
Homepage at http://dag.wieers.com/home-made/dstat/

Platform posix/linux2
Kernel 4.9.0-3-amd64
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118]

Terminal type: screen (color support)
Terminal size: 47 lines, 177 columns

Processors: 4
Pagesize: 4096
Clock ticks per secs: 100

internal:
        aio, cpu, cpu24, disk, disk24, disk24old, epoch, fs, int, int24, io, ipc, load, lock, mem, net, page, page24, proc, raw, socket, swap, swapold, sys, tcp, time, udp,
        unix, vm
/usr/share/dstat:
        battery, battery-remain, cpufreq, dbus, disk-tps, disk-util, dstat, dstat-cpu, dstat-ctxt, dstat-mem, fan, freespace, gpfs, gpfs-ops, helloworld, innodb-buffer,
        innodb-io, innodb-ops, lustre, memcache-hits, mysql-io, mysql-keys, mysql5-cmds, mysql5-io, mysql5-keys, net-packets, nfs3, nfs3-ops, nfsd3, nfsd3-ops, ntp, postfix,
        power, proc-count, qmail, rpc, rpcd, sendmail, snooze, squid, test, thermal, top-bio, top-bio-adv, top-childwait, top-cpu, top-cpu-adv, top-cputime, top-cputime-avg,
        top-int, top-io, top-io-adv, top-latency, top-latency-avg, top-mem, top-oom, utmp, vm-memctl, vmk-hba, vmk-int, vmk-nic, vz-cpu, vz-io, vz-ubc, wifi
SUMMARY

For owners of the PCEngines APU2 system board (and probably other machines as well) using lm_sensors is the only way of reading out the temperature.

Before:

# dstat --epoch --cpu -C total --load --net -N eth0 --net-packets --thermal
--epoch--- ----total-cpu-usage---- ---load-avg--- --net/eth0- --pkt/eth0-
  epoch   |usr sys idl wai hiq siq| 1m   5m  15m | recv  send|#recv #send
1501712890|  0   0 100   0   0   0|   0    0    0|   0     0 |   0     0

After:

# dstat --epoch --cpu -C total --load --net -N eth0 --net-packets --thermal
--epoch--- ----total-cpu-usage---- ---load-avg--- --net/eth0- --pkt/eth0- the
  epoch   |usr sys idl wai hiq siq| 1m   5m  15m | recv  send|#recv #send|k10
1501712890|  0   0 100   0   0   0|   0    0    0|   0     0 |   0     0 | 47

@sixtyfive sixtyfive changed the title Adding support to lm_sensors Adding support for lm_sensors Aug 2, 2017
Rationale: for owners of the [PCEngines APU2](https://pcengines.ch/apu2.htm) system board (and probably other machines as well) this is unfortunately the only way of reading out the temperature.
@dagwieers dagwieers added the wontfix_talk_to_redhat Red Hat has decided to replace this utility with a framework label May 22, 2019
@dagwieers dagwieers closed this May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix_talk_to_redhat Red Hat has decided to replace this utility with a framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants