Co robi ACPID użycie. Konsola events, such as battery warnings, power-supply changes, and laptop.

Czy przydatne?

Polecenie acpid

Wykonanie, użycie: Daemon that informs user-space programs about ACPI (Advanced Configuration and Power Interface) events, such as battery warnings, power-supply changes, and laptop lid closings. As ACPI hardware replaces older APM (Advanced Power Management) hardware, acpid replaces apmd. Like other daemons, this application is controlled primarily through a configuration file that determines which events merit action, and what those actions are. In some operating systems, including SUSE Linux and its relatives, all power management is handled by a combined ACPI/APM system called powersave and this daemon is not installed

Opcje wykonania acpid w konsoli

-c directory, --confdir=directory

Set the directory used for configuration files. The default directory is /etc/acpi/events. All files in this directory, except those beginning with a period (.), are parsed as configuration files. Typically, a single file is used for each ACPI event to be acted upon.

In the configuration files, blank lines and those beginning with # are ignored. Other lines are expected to consist of a regular expression and a command to be executed when an ACPI event matches the expression.

-d, --debug

Debug mode: run the daemon in the foreground and send all log output to stderr and stdout, rather than a logfile.

-e filename,--eventfile=filename

Set the file used to find events. Normally this is /proc/acpi/event.

-g group,--socketgroup=group

Set the group ownership of the socket to which acpid publishes events. This allows you to restrict which users on the system can access ACPI event information.

-l filename,--logfile=filename

Set the logfile location. Normally, it is /var/log/acpid.

-m mode,--socketmode=mode

Set the permission mode of the socket. Normally, it is 666, with the sticky bit off.

-s filename,--socketfile=filename

Set the file used to define the socket. Normally, this is /var/run/acpid.socket.

-S,--nosocket

Tells acpid not to open a socket at all. Overrides all other socket options.

-v,--version

Print version information and quit.

-h,--help

Print help message and quit.

Przykłady acpid działanie w Słownik polecenie A

Przykład ACPID użycie :
Jak użyć Update the configure template file file , or configure.ac if no file is specified. This command is seldom invoked manually. It is usually called automatically from other autoconf tools co znaczy.
Przykład ACPID użycie :
Jak użyć administration command. The Linux version of getty . Set terminal type, modes, speed, and line discipline. agetty is invoked by init . It is the second process in the series init-getty-login-shell krzyżówka.
Przykład ACPID użycie :
Jak użyć Package Tool , the Debian package management system. A freely available packaging system for software distribution and installation. For detailed information on apt and its commands, see Chapter 5 co to jest.
Przykład ACPID użycie :
Jak użyć Print machine architecture type to standard output. Equivalent to uname -m słownik.
Przykład ACPID użycie :
Jak użyć administration command. apmd handles events reported by the Advanced Power Management BIOS driver. The driver reports on battery level and requests to enter sleep or suspend mode. apmd will log any czym jest.