SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Mandrake Other apmd-2.4-6.i386.rpm

APMD

Section: Linux Programmer's Manual (8)
Updated: 10 Jan 1996
Index 

NAME

apmd - Advanced Power Management (APM) BIOS daemon 

SYNOPSIS

apmd [ -vVW ] [ -p percent_change ] [ -w warn_percent ] 

DESCRIPTION

apmdis an APM BIOS monitoring daemon. It will log, viasyslogd(2),changes in APM power status (e.g., on or off AC power, discharging orcharging battery). When the available battery power becomes very low, itcan usewall(1)to alert all users on the system. When the APM BIOS notifies the daemon ofa pending suspend or standby request,apmdwill callsync(2),sleep for 2 seconds, and then tell the APM BIOS to continue its operation.When a critical resume occurs,apmdwill make a feable attempt to reset the clock.

The information logged contains 4 fields:

1) Rate of discharge (percent/minute). Negative rates indicate charging.
2) Time since total charge or total discharge (hh:mm:ss). This value isonly useful if it reflects the time since a 100% or 0% state has beenreached. Otherwise, this time is in parentheses, and reflects the timesince the last importantapmdstatus change.
3) Estimate of time left until total discharge (or total charge), assuminguse similar to that since the last resume ( or since AC was connected).This time is calculated byapmditself.
4) Parenthetically, the percent and length of remaining battery life, asestimated by the APM BIOS (which is often an estimate from theintelligent battery itself).
 

OPTIONS

-V, --version
Print version and exit.
-v, --verbose
Log all APM events
-p percent_change, --percentage percent_change
Every time the percentage of available power changes bypercent_change,log information. The default is 5. Use values greater than 100 to disablethis feature.
-w warn_percent, --warn warn_percent
When the battery is not being charged and the percentage of available powerdrops belowwarn_percent,log a warning at ALERT level tosyslog(2).If the-Wor--wallflag was given,usewall(1)to alert all users of impending doom. Give the warning each time thepercentage changes. The default is 10. Use negative values to disablethis feature.
-W, --wall
In addition to logging viasyslog(2),also usewall(1)to alert all users. This is most useful ifsyslogd(8)is not set up to write ALERT messages to all users. If both methods areused, more noise will be made during the critical time period.
 

BUGS

The first status report printed after a power change may beinaccurate because the power change occured at a fractional percentage thatwas rounded to a full percentage. For example, say you are discharging themachine and have 50.9% power, which is reported as 50%. When you start tocharge the machine, it will only have 0.1% left before the percentage flipsto 50%, and the charge rate will be dramatically over-estimated. 

FILES

/proc/apm
/proc/devices 

AUTHOR

This program was written by Rik Faith (faithAATTcs.unc.edu) and may be freelydistributed under the terms of the GNU General Public License. There isABSOLUTELY NO WARANTY for this program. 

SEE ALSO

apm(1), xamd(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
FILES
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector