Linux apmd command

Linux 命令大全Linux Command Encyclopedia

The Linux apmd command is used for the Advanced Power Management service program.

apmd is responsible for recording, warning, and managing tasks related to BIOS Advanced Power Management (APM).

Syntax

apmd [-u v V W][-p <百分比变化量>][-w <百分比值>]

Parameters:

  • -p<percentage change> or --percentage<percentage change> When the power change exceeds the set percentage change, the event is recorded. The default preset for percentage change is 5. If the set value exceeds 100, this function is disabled.
  • -u or --utc Set the BIOS clock to UTC so that when recovering from suspend mode, the -u parameter is passed to the clock or hwclock program.
  • -v or --verbose Record all APM events.
  • -V or --version Display version information.
  • -w<percentage value> or --warn<percentage value> When the battery is not in the charging state and the battery level falls below the set percentage value, a warning message is recorded in the ALERT layer of syslog(2). The preset percentage value is 10. If set to 0, this function is disabled.
  • -W or --wall Send warning messages to all users.

Examples

Record all power management events

# apmd -v

Set the BIOS clock

# apmd -utc //设置BIOS时钟为UTC 

Linux 命令大全Linux Command Encyclopedia

Other extensions