UESENSOR(8)

πŸ“¦ version 1.3.14, in opensuse-leap 16.0

πŸ’… 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 present
  • 1 β€” Present and not operational
  • 2 β€” Status unknown
  • 3 β€” 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 πŸ“Š)

  • -t token β€” Specify the token of a specific sensor to query. also requires the -i option to be specified. they're a package deal, fr fr πŸ‘‘
  • -i index β€” Specify the index of a specific sensor to query. also requires the -t option 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 -t and -i options to be specified. no shortcuts bestie πŸ’…
⭐ quick reminder: -l and -a are 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