The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

on_ac_power (1)
  • >> on_ac_power (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
  •  

    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>.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    EXIT CODES
    SEE ALSO
    AUTHOR


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру