Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access sensors data via sysctl #290

Open
z-eos opened this issue Sep 22, 2020 · 0 comments
Open

access sensors data via sysctl #290

z-eos opened this issue Sep 22, 2020 · 0 comments

Comments

@z-eos
Copy link
Contributor

z-eos commented Sep 22, 2020

sensor data can be accessed via sysctl

on BSD for example coretemperature can be retrieved such way:

> sysctl dev.cpu.0.temperature
dev.cpu.0.temperature: 43.0C

for ASUS motherboards there is a driver aibs(4)

> sysctl dev.aibs.0
dev.aibs.0.volt.0: 1000 800 1600
dev.aibs.0.volt.1: 3248 2970 3630
dev.aibs.0.volt.2: 5046 4500 5500
dev.aibs.0.volt.3: 12193 10200 13800
dev.aibs.0.temp.0: 47.0C 60.0C 75.0C
dev.aibs.0.temp.1: 39.0C 45.0C 75.0C
dev.aibs.0.fan.0: 1534 600 7200
dev.aibs.0.fan.1: 1548 600 7200
dev.aibs.0.fan.2: 0 600 7200
dev.aibs.0.fan.3: 1454 0 7200
dev.aibs.0.%parent: acpi0
dev.aibs.0.%pnpinfo: _HID=ATK0110 _UID=16843024
dev.aibs.0.%location: handle=\_SB_.PCI0.SBRG.ASOC
dev.aibs.0.%driver: aibs
dev.aibs.0.%desc: ASUSTeK AI Booster (ACPI ASOC ATK0110)

in general, there are plenty of different data via sysctl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant