Latest web development tutorials

Linux apmd command

Linux command Daquan Linux command Daquan

Linux apmd Advanced Power Management Service command procedures.

apmd responsible BIOS Advanced Power Management (APM) related records, warning and management.

grammar

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

Parameters:

  • -p <percentage change in the amount of> or --percentage <percentage change in> when the percentage change in the amount of electricity the magnitude of change exceeds the set, ie the percentage change in quantity of recording events default is 5. If the set value exceeds 100, close this Features.
  • -u or --utc the BIOS clock is set to UTC, so as to be suspended from the time of recovery mode, use the -u parameters are transferred to the clock or hwclock program.
  • -v or --verbose record all APM events.
  • -V Or --version display version information.
  • Percentage values ​​-w <percentage> or --warn <percentage> When the battery is not charged, and the battery charge falls below a set level recorded in the ALERT syslog (2) of the warning message. Pre-set percentage value is 10, and if set to 0, then turn off this feature.
  • -W Or --wall a warning message to all.

Examples

Record all power management events

# apmd -v

Setting the BIOS clock

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

Linux command Daquan Linux command Daquan