on_ac_power man page on SuSE

Man page or keyword search:  
man Server   14857 pages
apropos Keyword Search (all sections)
Output format
SuSE logo
[printable version]

ON_AC_POWER(1)							ON_AC_POWER(1)

NAME
       on_ac_power - test whether the computer is running on line power

SYNOPSIS
       on_ac_power

DESCRIPTION
       This manual page documents briefly the on_ac_power command.

       on_ac_power  is	a command line program to test whether the computer is
       running on line power

EXIT CODES
       The command succeeds (status 0) if the system is using line  power  and
       fails  (status  other  than 0) otherwise.  It is designed to be easy to
       use in shell scripts.

		 0 (true)
	      System is on line power.

		 1 (false)
	      System is not on line power.

		 255 (false)
	      Power status could not be determined.

SEE ALSO
       pm-suspend (1).

AUTHOR
       This manual page was written by Richard Hughes <richard@hughsie.com>.

				 06 March 2007			ON_AC_POWER(1)
[top]

List of man pages available for SuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net