나는 사용한다섬광 (거울) 내 컴퓨터에서 모니터링합니다(Ubuntu 14.04.5 LTS x64+ Glances==2.8.5
. 최신 버전으로 업그레이드해도 Glances==2.8.8
도움이 되지 않았습니다).
설치 후 감지기 (거울) 플러그인을 실행하려고 할 때마다 다음 오류 메시지가 나타납니다 sudo glances
.
mlee@server:~$ sudo glances
Traceback (most recent call last):
File "/usr/local/bin/glances", line 11, in <module>
load_entry_point('Glances==2.8.5', 'console_scripts', 'glances')()
File "/usr/local/lib/python2.7/dist-packages/glances/__init__.py", line 225, in main
start_standalone(config=config, args=args)
File "/usr/local/lib/python2.7/dist-packages/glances/__init__.py", line 105, in start_standalone
standalone = GlancesStandalone(config=config, args=args)
File "/usr/local/lib/python2.7/dist-packages/glances/standalone.py", line 43, in __init__
self.stats = GlancesStats(config=config, args=args)
File "/usr/local/lib/python2.7/dist-packages/glances/stats.py", line 43, in __init__
self.load_modules(self.args)
File "/usr/local/lib/python2.7/dist-packages/glances/stats.py", line 77, in load_modules
self.load_plugins(args=args)
File "/usr/local/lib/python2.7/dist-packages/glances/stats.py", line 105, in load_plugins
self._plugins[plugin_name] = plugin.Plugin(args=args)
File "/usr/local/lib/python2.7/dist-packages/glances/plugins/glances_sensors.py", line 53, in __init__
self.glancesgrabsensors = GlancesGrabSensors()
File "/usr/local/lib/python2.7/dist-packages/glances/plugins/glances_sensors.py", line 229, in __init__
self.stemps = psutil.sensors_temperatures()
File "/usr/local/lib/python2.7/dist-packages/psutil/__init__.py", line 2212, in sensors_temperatures
rawdict = _psplatform.sensors_temperatures()
File "/usr/local/lib/python2.7/dist-packages/psutil/_pslinux.py", line 1108, in sensors_temperatures
binary=False)
File "/usr/local/lib/python2.7/dist-packages/psutil/_pslinux.py", line 298, in cat
with open_binary(fname) if binary else open_text(fname) as f:
File "/usr/local/lib/python2.7/dist-packages/psutil/_pslinux.py", line 204, in open_text
return open(fname, "rt", **kwargs)
IOError: [Errno 2] No such file or directory: '/sys/class/hwmon/hwmon0/device/name'
나는 시도했다:
sudo apt-get install -y lm-sensors
sudo apt-get install -y hddtemp
sudo pip install PsUtil
이것은 도움이 되지 않습니다. /sys/class/hwmon/hwmon0/device/name
만족스러운 콘텐츠를 포함 하려면 어떻게 해야 합니까 glances
?
출력 sensor
:
mlee@server:~$ sensors
power_meter-acpi-0
Adapter: ACPI interface
power1: 290.00 W (interval = 1.00 s)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +35.0°C (high = +92.0°C, crit = +102.0°C)
Core 0: +26.0°C (high = +92.0°C, crit = +102.0°C)
Core 2: +30.0°C (high = +92.0°C, crit = +102.0°C)
Core 3: +35.0°C (high = +92.0°C, crit = +102.0°C)
Core 4: +28.0°C (high = +92.0°C, crit = +102.0°C)
Core 8: +25.0°C (high = +92.0°C, crit = +102.0°C)
Core 10: +26.0°C (high = +92.0°C, crit = +102.0°C)
Core 11: +32.0°C (high = +92.0°C, crit = +102.0°C)
Core 12: +28.0°C (high = +92.0°C, crit = +102.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Physical id 1: +34.0°C (high = +92.0°C, crit = +102.0°C)
Core 0: +31.0°C (high = +92.0°C, crit = +102.0°C)
Core 2: +27.0°C (high = +92.0°C, crit = +102.0°C)
Core 3: +26.0°C (high = +92.0°C, crit = +102.0°C)
Core 4: +26.0°C (high = +92.0°C, crit = +102.0°C)
Core 8: +26.0°C (high = +92.0°C, crit = +102.0°C)
Core 10: +33.0°C (high = +92.0°C, crit = +102.0°C)
Core 11: +29.0°C (high = +92.0°C, crit = +102.0°C)
Core 12: +26.0°C (high = +92.0°C, crit = +102.0°C)
출력 ls /sys/bus/platform/devices/
:
mlee@server:~$ ls /sys/bus/platform/devices/
alarmtimer GHES.1 iTCO_wdt reg-dummy
coretemp.0 GHES.2 microcode serial8250
coretemp.1 gpio_ich pcspkr
Fixed MDIO bus.0 ipmi_bmc.0852.32 platform-framebuffer.0
출력 grep HWMON /boot/config-3.13.0-100-generic
:
mlee@server:/scratch$ grep HWMON /boot/config-3.13.0-100-generic
CONFIG_IGB_HWMON=y
CONFIG_IXGBE_HWMON=y
CONFIG_HWMON=y
CONFIG_HWMON_VID=m
# CONFIG_HWMON_DEBUG_CHIP is not set
CONFIG_SENSORS_IIO_HWMON=m
CONFIG_THERMAL_HWMON=y
출력 uname -r
:
mlee@server:/scratch$ uname -r
3.13.0-100-generic