icon Top 9 categories map      RocketAware > man pages >

apm(8)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD Others



APM(8)                  OpenBSD System Manager's Manual                 APM(8)

NAME
     apm - Advanced Power Management control program



SYNOPSIS
     zzz [-S] [-z] [-f sockname]
     apm [-z] [-S] [-s] [-l] [-b] [-a] [-v] [-f sockname]

DESCRIPTION
     apm communicates with the Advanced Power Management daemon, apmd(8),
     making requests of it for current power status or to place the system in-
     to a suspend or stand-by state.  With no flags, apm displays the current
     power management state in verbose form.

     Available command-line flags are:
     -z      Put the system into suspend (deep sleep) mode.
     -S      Put the system into stand-by (light sleep) mode.
     -l      Display the estimated battery lifetime (in percent).
     -b      Display the battery status.  0 means high, 1 means low, 2 means
             critical, 3 means charging, 4 means absent, and 255 means un-
             known.
     -a      Display the external charger (A/C status).  0 means disconnected,
             1 means connected, 2 means backup power source, and 255 means un-
             known.
     -v      Request more verbose description of the displayed states.
     -f sockname
             Set the name of the socket via which to contact apmd(8) to
             sockname.

     The zzz variant on this command is an alternative for suspending the sys-
     tem.  With no arguments, apm places the system into suspend mode.  The
     command line flags serve the same purpose as for the apm variant of this
     command.

     This command does not wait for positive confirmation that the requested
     mode has been entered; to do so would mean the command does not return
     until the system resumes from its sleep state.

FILES
     /var/run/apmdev is the default UNIX-domain socket used for communication
     with apm(8).  The -f flag may be used to specify an alternate socket
     name.  The protection modes on this socket govern which users may access
     the APM functions.

SEE ALSO
     apmd(8),  apm(4).

REFERENCES
     Advanced Power Management (APM) BIOS Interface Specification (revision
     1.1), Intel Corporation and Microsoft Corporation

HISTORY
     The apm command appeared in OpenBSD 1.2.

OpenBSD                         March 18, 1996                               1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]
FreeBSD Sources for apm(8)
OpenBSD sources for apm(8)


[Overview Topics]

Up to: Hardware Access
Up to: Local machine and Operating System Information - kernel topics, uname, boot, shutdown, et al


RocketLink!--> Man page versions: OpenBSD FreeBSD Others






Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > apm.8/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments