Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acpi_listen(8) [suse man page]

acpi_listen(8)						      System Manager's Manual						    acpi_listen(8)

NAME
acpi_listen - ACPI event listener SYNOPSIS
acpi_listen [options] DESCRIPTION
acpid is the system-wide ACPI event catcher. acpi_listen is a simple shell-friendly tool which connects to acpid and listens for events. When an event occurs, acpi_listen will print it on stdout. OPTIONS
-c, --count events Receive up to a maximum number of ACPI events, then exit. -s, --socketfile filename This option changes the name of the UNIX domain socket which acpid opens. Default is /var/run/acpid.socket. -t, --time seconds Listen for the specified time in seconds, before exiting. -v, --version Print version information and exit. -h, --help Show help and exit. FILES
/var/run/acpid.socket BUGS
There are no known bugs. To file bug reports, see AUTHORS below. SEE ALSO
regcomp(3), sh(1), socket(2), connect(2) AUTHORS
Tim Hockin <thockin@hockin.org> Luca Capello <luca@pca.it> Nov 2003 acpi_listen(8)

Check Out this Related Man Page

kacpimon(8)						      System Manager's Manual						       kacpimon(8)

NAME
kacpimon - Kernel ACPI Event Monitor SYNOPSIS
kacpimon DESCRIPTION
kacpimon is a monitor program that connects to three sources of ACPI events: 1. /proc/acpi/event 2. netlink 3. the input layer (/dev/input/event*) kacpimon then reports on what it sees while it is connected. Use kacpimon to make sure your kernel is sending acpi-related events via the three sources mentioned above. Since both acpid and kacpimon connect to the same sources, be sure to kill acpid before running kacpimon: sudo killall acpid Also be sure to run kacpimon as root or else it won't be able to open /proc/acpi/event or the input layer: sudo ./kacpimon If you want to pipe the output of kacpimon to a file, be sure to use the "Esc" key to exit rather than Ctrl-C. Using Ctrl-C will cause output to be lost. FILES
/proc/acpi/event kernel ACPI event file /dev/input/event* input layer event files SEE ALSO
acpi_listen(8), acpid(8) AUTHOR
Ted Felix <www.tedfelix.com> TODO
- Make kacpimon something that actually gets installed? LICENSE
kacpimon - Kernel ACPI Event Monitor Copyright (C) 2009 Ted Felix (www.tedfelix.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or visit www.gnu.org. Nov 2009 kacpimon(8)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

exiting in c

how can i exit in a c program i have tried system ("exit"); but this doesnt seem to work just wondered if you could help. (3 Replies)
Discussion started by: ruffenator
3 Replies

2. Red Hat

pstree unreadable characters

hi all, i executed this command "pstree" on redhat ent 4 and i got this below with unreadable chars: init─┬─acpid â”─amqzxma0─┬─amqrrmfa │ â”─amqzdmaa │ â”─amqzfuma │ â”─5* │ â”─amqzmgr0─┬─amqpcsea │ │ ... (2 Replies)
Discussion started by: itik
2 Replies

3. Shell Programming and Scripting

In real time - what user connects or disconnect

Write a tool that will be displayed in real time, what user connects or disconnects from a system that uses this tool :)) Maybe anyone can help me? (2 Replies)
Discussion started by: titasas
2 Replies

4. Shell Programming and Scripting

Grep can't match expected but output all

lyang001@lyang001-OptiPlex-9010:~$ service --status-all |grep dbus acpid acpi-support alsa-restore alsa-store anacron apport atd avahi-daemon bluetooth cgroup-lite console-setup cron cups dbus dmesg dns-clean failsafe-x ... (1 Reply)
Discussion started by: yanglei_fage
1 Replies