Copyright 2017. All rights reserved. Advantech Co. Ltd.
Page 25
-p, show all monitor pins
-m, show all thermal sensors in memory
-c CONF, specify the platform (NOTICE: default.yaml used without it)
-i PIN_NUM, read the sensor associated with the pin
A configuration file has been prepared in Advantech QuickStart Image ,in the ‘conf’ folder,
type following command to show all sensor values. Please note different platform or SKU
might need different configuration files.
# apm -a -c fwa-t011
Advantech Platform Monitor, version 0.10
SENSOR | VALUE | UNIT | MIN | MAX | FLAG
CPU-TEMP | 39.000 | degrees C | 0.000 | 75.000 | ok
SYS-TEMP | 41.000 | degrees C | 0.000 | 75.000 | ok
PAY_3_3-VOL | 3.328 | Volts | 3.135 | 3.465 | ok
PAY_5_0-VOL | 5.057 | Volts | 4.750 | 5.250 | ok
PAY_3_3_SB-VOL | 3.328 | Volts | 3.135 | 3.465 | ok
VCGI_SVID-VOL | 0.712 | Volts | 0.450 | 1.300 | ok
VBAT-VOL | 3.200 | Volts | 2.000 | 3.400 | ok
*** Platform Health Status: OK ***
If one sensor’s reading is below or exceed threshold, its FLAG becomes “cr”, and “Platform
Health Status:” becomes “WARNING” if any sensor fails.
3.2.2
LM-Sensors
lm-sensors
is used to provide hardware monitoring for voltage, thermal and FAN sensors on
platform without BMC. Refer to
https://linux.die.net/man/1/sensors
lm-sensors.
The sensor naming, upper or lower thresholds and other related settings for lm_sensors are
defined in the /etc/sensors3.conf file. During system initialization, the Advantech QuickStart
Image will auto detect platform information and update this file with proper sensor settings
for your Advantech platform.
Proper driver is needed to be loaded first to make the lm-sensors work, please use the driver
nct6106 from the Advantech QuickStart Image.
For example, here is the sensor threshold setting for FWA-T011 in sensors3.conf:
# Here are configurations for Nuvoton NCT6106 chip.
chip "nct6106-*"