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

Issue 168/2014

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)

News