APM Linux Command

What is Linux apm Command?



The apm command is an interface with the APM subsystem. APM is the abbreviation of "Atom Package manager". This command comes with npm and spawns npm processes to install Atom packages. This command requires the Advanced Power Management subsystem. When this command is run without arguments it reads the /proc/apm and presents the output in a human-readable format.
When the option "-S" is used along with the command it puts the machine in the APM standy mode and when using "-s" the machine is put in the APM suspend mode.


apm [ -VvmMsSdin ]


Option Description
-V, --version Print the version of the program and exit.
-v, --verbose Also print version information for the APM subsystem. The APM subsystem consists of power-management hardware, firmware usu? ally referred to as the APM BIOS and a driver in the operating system kernel.
-m, --minutes Print the time remaining as a number of minutes. The default is to print the time remaining in "hours:minutes" format.
-M, --monitor Continuously monitor and update the status information. Assumes that the standard output is a terminal.
-S, --standby Request that the machine be put into the APM standby state.
-s, --suspend Request that the machine be put into the APM suspend state.
-d, --debug Print APM status information in a format more useful for debugging. Implies -v.


  1. To print the version of the program:
    apm -V
    It will print the version of apm like below:
    apm version 3.2.1

Ask Questions

Ask Question