Sponsored Content
Full Discussion: How do it...?
Top Forums Programming How do it...? Post 46226 by marpin on Sunday 11th of January 2004 04:37:30 PM
Old 01-11-2004
Question How do it...?

Smilie How could I put a numerical character in program status?
APM(1)                                                                                                                                      APM(1)

apm - interface with the APM subsystem SYNOPSIS
apm [ -VvmMsSdin ] DESCRIPTION
This command requires the Advanced Power Management subsystem. If run without arguments it reads /proc/apm and presents the output in a human-readable format. Given a -S or -s option it requests that the machine be put into the APM standby or the APM suspend state, respectively. For a brief description of these states, see apmd(8). OPTIONS
-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 usually 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. FILES
/proc/apm AUTHOR
This program was written by Rik Faith (faith@cs.unc.edu) and may be freely distributed under the terms of the GNU General Public License. There is ABSOLUTELY NO WARRANTY for this program. The current maintainer is Avery Pennarun (apenwarr@worldvisions.ca). SEE ALSO
xapm(1), apmd(8). January 2004 APM(1)

Featured Tech Videos

All times are GMT -4. The time now is 03:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy