1 .TH acpi_listen 8 "Nov 2003"
2 .\" Portions Copyright (c) 2003 Sun Microsystems
3 .\" Copyright (c) 2004 Tim Hockin (thockin@hockin.org)
4 .\" Some parts (C) 2003 - Gismo / Luca Capello <luca.pca.it> http://luca.pca.it
6 acpi_listen \- ACPI event listener
8 \fBacpi_listen\fP [\fIoptions\fP]
11 \fBacpid\fP is the system-wide ACPI event catcher. \fBacpi_listen\fP is a
12 simple shell-friendly tool which connects to acpid and listens for events.
13 When an event occurs, acpi_listen will print it on stdout.
17 .BI \-c "\fR, \fP" \--count " events"
18 Receive up to a maximum number of ACPI events, then exit.
20 .BI \-s "\fR, \fP" \--socketfile " filename"
21 This option changes the name of the UNIX domain socket which \fBacpid\fP opens.
22 Default is \fI/var/run/acpid.socket\fP.
24 .BI \-t "\fR, \fP" \--time " seconds"
25 Listen for the specified time in seconds, before exiting.
27 .BI \-v "\fR, \fP" \--version
28 Print version information and exit.
30 .BI \-h "\fR, \fP" \--help
35 .B /var/run/acpid.socket
39 There are no known bugs. To file bug reports, see \fBAUTHORS\fP below.
41 regcomp(3), sh(1), socket(2), connect(2)
43 Tim Hockin <thockin@hockin.org>
45 Luca Capello <luca@pca.it>