Monitor ACPI with yacpi

Dmitri Popov

Productivity Sauce

Mar 08, 2013 GMT
Dmitri Popov

yacpi is a small utility that lets you check the battery status, the current CPU governor mode, and CPU data from the command line.

If you are running Debian or Ubuntu (or any of their derivatives), you'll be pleased to learn that yacpi is available in the official software repositories. This means that you can install the utility by running the apt-get install yacpi command as root. As is often the case, the repositories contain a slightly older version of the utility, so if you want to install the very latest release of yacpi, you have to compile it from source. Fortunately, yacpi has only few dependencies (libc6-dev, libncurses5-dev and libacpi-dev), and you can compile it using the usual standard procedure:

make
make install

The last command must be run as root. Once the utility has been compiled and installed, run the yacpi command to view yacpi in all its command-line glory.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News