UESENSOR(8)
π uesensor β bestie's guide to system environmental sensors
okay so real quick β you're looking at uesensor, section 8 of the Linux on Power Service Tools manual. she's a little utility, she's iconic, and she's about to tell you what your machine's sensors are feeling rn. let's get into it π
β¨ NAME β¨
uesensor β view the state of system environmental sensors
like, literally just peek at how your hardware's doing. temperature, fans, voltage, power supplies. the whole vibe check π‘οΈπβ‘π
π«Ά SYNOPSIS π«Ά
/usr/sbin/uesensor -l | -a
/usr/sbin/uesensor -t token -i index [-v]
two modes, bestie: list everything or ask about one specific sensor. pick your fighter π
πΈ DESCRIPTION πΈ
so uesensor is used to view the state of environmental sensors on PowerPC-64 machines. that's the whole assignment, and she ate. β¨
there are 4 types of system sensors you can retrieve with uesensor, and each one has an identifying token:
3β Thermal sensor π‘οΈ9001β Fan speed sensor π9002β Voltage sensor β‘9004β Power supply sensor π
each sensor is uniquely identified by a combination of token and index number. index numbers start at 0 and are contiguous (no gaps, no skips, no drama). for example, the second fan on the system would be identified by token number 9001 and index 1. iykyk π
the state of each sensor consists of a status and a measured value. the status value is one of these:
9β Critical low π10β Warning low π11β Normal β¨ (the slay status)12β Warning high π₯13β Critical high π
the measured value depends on the type of sensor, obviously:
- Thermal sensors are measured in degrees Celcius π‘οΈ
- Fan speed is measured in revolutions per minute π
- Voltage is measured in millivolts β‘
- Power supply measurements are defined as follows:
0β Not present1β Present and not operational2β Status unknown3β Present and operational
each sensor is also associated with a location code. heads up though: this location code may not be unique β for example, there may be multiple voltage sensors on a planar. so like, don't @ her about it, it's by design π«Ά
π¦ OPTIONS π¦
-lβ List all the sensors in human-readable format. cute, friendly, readable. main character energy π-aβ List all the sensors in a tabular, numerical format. one line will be printed for each sensor in the following format:
<token> <index> <status> <measured_value> <location_code>
(yes she's giving spreadsheet. yes it's still slay π)
-ttoken β Specify the token of a specific sensor to query. also requires the-ioption to be specified. they're a package deal, fr fr π-iindex β Specify the index of a specific sensor to query. also requires the-toption to be specified. see above, the duo is inseparable π-vβ Print the measured value rather than the sensor status, which is the default value printed. requires both the-tand-ioptions to be specified. no shortcuts bestie π
β quick reminder:-land-aare your listing modes.-t+-i(plus optionally-v) are your "tell me about this exact sensor" mode. don't mix and match, she's not that kind of girl.
π SEE ALSO π
usysident(8), usysattn(8) β her sisters, also iconic, go say hi π«Ά
that's the whole page bestie, no cap, every detail intact π
source/version: Linux Β· May 2004 Β· UESENSOR(8) β yeah she's vintage, she's still serving ππ§ββοΈ
π¦ where this page comes from
- opensuse-leap 16.0: powerpc-utils 1.3.14-160000.2.1 Β· GPL-2.0-or-later
- Copyright (C) 2004 International Business Machines
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms