LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.





Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.



apm

apm [options]

Display current Advanced Power Management hardware information, such as battery life, or send the system into standby or suspend-to-disk mode. Used on older systems, and replaced by acpi and related commands.

-V, --version

Display version information and quit.

-v,--verbose

Verbose mode. Display information about the APM BIOS and Linux APM driver.

-m, --minutes

Display estimated minutes of battery life remaining. Default format is in hours and minutes.

-s, --suspend

Suspend system to disk. Suspending the system to disk is equivalent to turning it off, but boot time will be faster and the system will resume exactly where it was before suspend.

-S, --standby

Set system to standby. This will normally turn off the monitor and spin down the disk drives, reducing energy consumption by approximately 50 percent. Recovery from this mode is more rapid than from a full suspend to disk, but the system is still running.

-i,--ignore

When the system is using AC power, ignore suspend or standby requests generated by the system.

-n,--noignore

Do not ignore any suspend or standby events. This overrides a previously issued -i flag.