Linux apmd command
Linux Command大全
The Linux apmd command is used for the advanced power management service program.
apmd is responsible for the recording, warnings, and management of BIOS advanced power management (APM) related issues.
Syntax
apmd [-u v V W][-p <percentage change>][-w <percentage value>]
Parameter:
- -p<percentage change> or--percentage<percentage change> When the power change exceeds the set percentage change, that is, the preset value of the event percentage change is5If the set value exceeds100 will disable this feature.
- -u or--utc sets the BIOS clock to UTC so that when the system wakes up from suspend mode, the-u parameter is sent to the clock or hwclock program.
- -v or--verbose records all APM events.
- -V or--version displays version information.
- -w<percentage value> or--warn<percentage value> When the battery is not charging and the battery level is below the set percentage value, then record the event in syslog(2The ALERT layer records warning messages. The default percentage setting is10If set to 0, this feature will be disabled.
- -W or--wall sends warning messages to everyone.
Online Examples
Record all power management events
# apmd -v
Set BIOS Clock
# apmd -utc //Set BIOS Clock to UTC
Linux Command大全