8
Yacpi is an acpi monitoring tool for notebooks.
8
Yacpi is an acpi monitoring tool for Linux.
9
9
It displays various acpi information like battery status, ac status and temperature.
10
The displays are printed on an ncurses interface.
11
It also displays current cpu frequency and the kernel governor used for scaling
12
and has support for more than one battery.
10
This information will be displayed in a user-friendly ncurses interface or as plain-text.
11
It is also able to display current cpu frequency and the kernel scaling governor.
15
\-h/\-\-help display help
17
\-v/\-\-version display version number and release date
19
\-t/\-\-text display text only output, usefull if you want to include yacpi in scripts etc.
21
\-l/\-\-loop loop the text only output
23
\-d/\-\-delay specifiy delay seconds for loop (1-1000)
25
\-m/\-\-multiple enables support for more than one battery, see README for details
27
\-s/\-\-samples=... use time over some samples to get a much more accurate remaining time (1-1000)
16
\-v display version number and release date
18
\-p display as plain-text only, useful for script output for example
20
\-l loop yacpi output every second.
22
\-n display not found items (display everything you can)
24
\-d specify delay seconds for loop
27
\-b show battery information
29
\-a show ac adapter information
31
\-f show fan information
33
\-t show thermal zone information
35
\-c show cpu frequency
37
\-g show used frequency governor
39
The default prints all available information.
33
44
r \- reload acpi information
35
46
h \- print help screen
37
s \- specify samples number
39
m \- specify delay seconds for loop
42
To write programs for other notebooks is very difficult because some features I can not test because my laptop doesn't support them.
43
So please test it and if you find errors send reports. Please include an strace output (e.g. strace -o yacpi.error yacpi, but gdb backtrace would be better) and a directory tree of /proc/acpi.
49
ACPI information is platform and system depended so please include as much information you can gather about your system like contents of /proc/acpi files, strace output or backtraces/core files.
46
51
Yacpi was written by Nico Golde <nico@ngolde.de>