← Documents Documentation/hwmon/userspace-tools.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Userspace tools

커널 hwmon 데이터를 표시·설정하는 lm-sensors의 설치 절차와 그래픽·서버 도구를 설명합니다.

Source pathDocumentation/hwmon/userspace-tools.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

userspace-tools.rst:1-43

센서 칩의 `/sys` 데이터를 lm-sensors로 탐지·표시·설정하고 데스크톱 또는 서버용 도구로 활용하는 기본 절차입니다.

문서 개요
항목
SourceDocumentation/hwmon/userspace-tools.rst
분량43 source lines
핵심 도구lm-sensors
버스I2C 또는 ISA

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
커널 드라이버 준비lm-sensors 설치`sensors-detect` 실행설정 보정GUI·서버 도구 연결

장치 초기화부터 측정·상태 제공까지의 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Userspace tools
2 ===============
3
4 Introduction
5 ------------
6
7 Most mainboards have sensor chips to monitor system health (like temperatures,
8 voltages, fans speed). They are often connected through an I2C bus, but some
9 are also connected directly through the ISA bus.
10
11 The kernel drivers make the data from the sensor chips available in the /sys
12 virtual filesystem. Userspace tools are then used to display the measured
13 values or configure the chips in a more friendly manner.
14
15 Lm-sensors
16 ----------
17
18 Core set of utilities that will allow you to obtain health information,
19 setup monitoring limits etc. You can get them on their homepage
20 http://www.lm-sensors.org/ or as a package from your Linux distribution.
21
22 If from website:
23 Get lm-sensors from project web site. Please note, you need only userspace
24 part, so compile with "make user" and install with "make user_install".
25
26 General hints to get things working:
27
28 0) get lm-sensors userspace utils
29 1) compile all drivers in I2C and Hardware Monitoring sections as modules
30 in your kernel
31 2) run sensors-detect script, it will tell you what modules you need to load.
32 3) load them and run "sensors" command, you should see some results.
33 4) fix sensors.conf, labels, limits, fan divisors
34 5) if any more problems consult FAQ, or documentation
35
36 Other utilities
37 ---------------
38
39 If you want some graphical indicators of system health look for applications
40 like: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd,
41 hardware-monitor
42
43 If you are server administrator you can try snmpd or mrtgutils.
44

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

센서와 사용자 공간 도구

1-14

대부분의 메인보드에는 온도, 전압, 팬 속도 같은 시스템 상태를 감시하는 센서 칩이 있습니다. 이 칩들은 흔히 I2C 버스에 연결되지만 일부는 ISA 버스에 직접 연결됩니다.

커널 드라이버는 센서 칩 데이터를 `/sys` 가상 파일 시스템에 공개합니다. 사용자 공간 도구는 이 측정값을 보기 좋게 표시하거나 칩을 편리하게 설정하는 데 사용됩니다.

하드웨어 감시 계층
계층역할
센서 칩온도·전압·팬 속도 측정
버스주로 I2C, 일부 ISA
커널 드라이버측정 데이터를 `/sys`에 공개
사용자 공간 도구표시와 설정

센서에서 사용자 도구까지의 역할을 나눕니다.

센서 정보 전달
센서 칩이 상태 측정I2C 또는 ISA로 값 전달커널 hwmon 드라이버가 값 읽기`/sys` 속성 생성사용자 공간 도구가 표시·설정

메인보드 측정값이 화면에 표시되는 경로입니다.

Userspace tools
===============

Introduction
------------

Most mainboards have sensor chips to monitor system health (like temperatures,
voltages, fans speed). They are often connected through an I2C bus, but some
are also connected directly through the ISA bus.

The kernel drivers make the data from the sensor chips available in the /sys
virtual filesystem. Userspace tools are then used to display the measured
values or configure the chips in a more friendly manner.

lm-sensors 설치와 설정

15-35

lm-sensors는 시스템 상태 정보를 얻고 감시 한계를 설정하는 핵심 유틸리티 모음입니다. 원문의 프로젝트 홈페이지 `http://www.lm-sensors.org/` 또는 Linux 배포판 패키지로 설치할 수 있습니다.

프로젝트 웹사이트의 소스로 빌드할 때는 사용자 공간 부분만 필요하므로 `make user`로 컴파일하고 `make user_install`로 설치합니다.

일반적인 설정 순서는 다음과 같습니다. 먼저 lm-sensors 사용자 공간 도구를 준비하고 커널의 I2C 및 Hardware Monitoring 드라이버를 모듈로 빌드합니다. `sensors-detect`를 실행해 필요한 모듈을 확인한 뒤 이를 적재하고 `sensors` 명령으로 결과를 봅니다.

그 다음 `sensors.conf`의 라벨·한계·팬 분주기를 보정합니다. 문제가 남으면 FAQ나 문서를 참고합니다.

lm-sensors 준비 단계
단계작업
0lm-sensors 사용자 공간 유틸리티 준비
1I2C와 Hardware Monitoring 드라이버를 모듈로 빌드
2`sensors-detect`로 필요한 모듈 탐지
3모듈 적재 후 `sensors` 실행
4`sensors.conf`, 라벨, 한계, 팬 분주기 수정
5FAQ와 문서 확인

원문의 0~5 단계를 검토 가능한 작업표로 재구성했습니다.

lm-sensors 설정 흐름
`make user` 또는 배포판 패키지 설치커널 센서 드라이버 준비`sensors-detect` 실행모듈 적재와 `sensors` 결과 확인설정 파일과 한계 조정

설치부터 실제 측정 확인까지의 순서입니다.

Lm-sensors
----------

Core set of utilities that will allow you to obtain health information,
setup monitoring limits etc. You can get them on their homepage
http://www.lm-sensors.org/ or as a package from your Linux distribution.

If from website:
Get lm-sensors from project web site. Please note, you need only userspace
part, so compile with "make user" and install with "make user_install".

General hints to get things working:

0) get lm-sensors userspace utils
1) compile all drivers in I2C and Hardware Monitoring sections as modules
   in your kernel
2) run sensors-detect script, it will tell you what modules you need to load.
3) load them and run "sensors" command, you should see some results.
4) fix sensors.conf, labels, limits, fan divisors
5) if any more problems consult FAQ, or documentation

그래픽·서버 유틸리티

36-43

그래픽 방식으로 시스템 상태를 보고 싶다면 gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd, hardware-monitor 같은 응용 프로그램을 사용할 수 있습니다.

서버 관리자는 `snmpd` 또는 `mrtgutils`를 이용해 감시 데이터를 네트워크 관리나 추세 수집에 연결할 수 있습니다.

사용자 공간 도구 종류
용도도구
데스크톱·그래픽gkrellm, ksensors, xsensors
Window Maker 계열wmtemp, wmsensors, wmgtemp
시스템 모니터ksysguardd, hardware-monitor
서버·네트워크snmpd, mrtgutils

원문이 제시한 도구를 용도별로 묶었습니다.

도구 선택
데스크톱 또는 서버 환경 판별그래픽 표시 필요 여부 확인GUI 도구 또는 서버 도구 선택`/sys` 센서 데이터 읽기상태 표시 또는 원격 수집

운영 환경에 맞는 표시·수집 도구를 선택합니다.

Other utilities
---------------

If you want some graphical indicators of system health look for applications
like: gkrellm, ksensors, xsensors, wmtemp, wmsensors, wmgtemp, ksysguardd,
hardware-monitor

If you are server administrator you can try snmpd or mrtgutils.