IPMCTL-SET-SENSOR(1)
π ipmctl-set-sensor β the glow-up for your PMem sensors
okay bestie, so this is the ipmctl manual, and today's episode is ipmctl-set-sensor. no cap.
β¨ NAME β¨
ipmctl-set-sensor β sets the threshold or the enabled state for PMem modules sensors π
πΈ SYNOPSIS πΈ
ipmctl set [OPTIONS] -sensor (SENSORS) [TARGETS]
AlarmThreshold=(temperature) AlarmEnabled=(0|1)
π¦ DESCRIPTION π¦
So like, this command changes the alarm threshold or the enabled state for the sensors on one or more PMem modules. that's the whole vibe.
want to peek at what's currently set before you start messing with it? use the command Show Sensor. yes queen, look before you leap π
β OPTIONS β
-f,-forceβ bestie, changing sensor settings is a potentially destructive operation and it needs you to confirm for each and every PMem module. this option suppresses that confirmation. use with intention, not on autopilot π-h,-helpβ shows help for the command. the classic.-ddrtβ used to specify DDRT as the desired transport protocol for the current invocation ofipmctl.-smbusβ used to specify SMBUS as the desired transport protocol for the current invocation ofipmctl.
Note β-ddrtand-smbusare mutually exclusive and may not be used together. pick a lane bestie, you literally cannot have both π
-o (text|nvmxml),-output (text|nvmxml)β changes the output format. one of:"text"(default) or"nvmxml".
π§ SENSORS π§
MediaTemperatureβ the PMem module media temperature in Celsius π‘οΈControllerTemperatureβ the PMem module controller temperature in Celsius π‘οΈPercentageRemainingβ remaining PMem module's life as a percentage value of factory expected life span. it's giving β¨lifespanβ¨
π TARGETS π
-dimm [DimmIDs]β update the specified sensors on specific PMem modules. you optionally supply the PMem module target plus one or more comma separated PMem module identifiers. the default is to update the specified sensors for all manageable PMem modules.
π PROPERTIES π
AlarmThresholdβ the threshold value at which an alarm for the respective sensor will be triggered. it's the upper alarm threshold of the sensor for temperatures, and the lower one for percentage remaining. temperatures may be specified to a precision of1degree Celsius.
Table 1. Allowed AlarmThreshold
MediaTemperatureβ allowedAlarmThresholdvalues:0-85β units: CelsiusControllerTemperatureβ allowedAlarmThresholdvalues:0-102β units: CelsiusPercentageRemainingβ allowedAlarmThresholdvalues:1-99β units:%
AlarmEnabledβ enable or disable the alarm threshold, where applicable. one of:"0": Disable"1": Enable
π EXAMPLES π
changes the media temperature alarm threshold to 51C on the specified PMem module and enables the alarm. iconic behavior honestly π₯
ipmctl set -sensor MediaTemperature -dimm 0x0001 AlarmThreshold=51 AlarmEnabled=1
π LIMITATIONS π
in order to successfully execute this command:
- the caller must have the appropriate privileges.
- the specified PMem modules must be manageable by the host software.
no privileges, no party. that's just how it is π«Ά
π RETURN DATA π
for each PMem module, the CLI will indicate the status of the operation. and listen β if a failure occurs when modifying multiple PMem modules, the process will exit and not continue modifying the remaining PMem modules. so it stops right there. fr fr.
π SAMPLE OUTPUT π
Modify (Sensor) settings on DIMM (DimmID): Success
Modify (Sensor) settings on DIMM (DimmID): Error (Code) - (Description)
okay that's the whole page, you're officially sensor-literate π go forth and set those thresholds responsibly, bestie. mwah.
this page came to you from ipmctl, dated 2024-04-22, and it lives under the name IPMCTL-SET-SENSOR(1) in the manual. take care of her π
π¦ where this page comes from
- ubuntu noble: ipmctl 03.00.00.0485-1build1 Β· BSD-2-Clause AND BSD-3-Clause
- ubuntu questing: ipmctl 03.00.00.0485-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms