Sujet : Re: Simple way for web to execute root shell script.
De : anssi.saari (at) *nospam* usenet.mail.kapsi.fi (Anssi Saari)
Groupes : comp.os.linux.misc comp.sys.raspberry-piDate : 25. May 2025, 08:17:01
Autres entêtes
Organisation : An impatient and LOUD arachnid
Message-ID : <sm034ctgnwy.fsf@lakka.kapsi.fi>
References : 1 2 3
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
The Natural Philosopher <
tnp@invalid.invalid> writes:
Sadly the data is not available in /sys or /proc AFAIK.
I wanted information on the temperature and data volumes on the SSDs
and the temperature of the ARM core.
I think lm-sensors. I have a compute module 3+ variant running but same
SoC anyways and lm-sensors gives this:
cpu_thermal-virtual-0
Adapter: Virtual device
temp1: +52.1°C
I don't have drives other than the eMMC on the Pi but on my router for
example lm-sensors gives:
drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1: +50.0°C
That's for an mSATA SSD.
Plus data on the amount of data being transported over the ethernet
interface.
/sys/class/net/eth0/statistics