This was much easier than I had reckoned. Having the battery_names array is sadly a necessary evil for now. Use the same logic for all platforms. Tested on FreeBSD. Needs retesting on Linux, macOS and OpenBSD. The price of support multiple operating systems!
|4 years ago|
|data||5 years ago|
|src||4 years ago|
|AUTHORS||5 years ago|
|CREDITS||4 years ago|
|LICENSE||4 years ago|
|NEWS||4 years ago|
|README.md||4 years ago|
|VERSION||4 years ago|
|makefile||4 years ago|
System Information (EFL)
This is a process monitor and system monitor for Linux, macOS, FreeBSD, DragonFlyBSD and OpenBSD.
Includes 'tingle' a command-line utility for displaying sensor information.
An installation of EFL (v1.19.0+). Remember to set your PKG_CONFIG_PATH environment variable accordingly. For example if EFL is installed in /opt:
$ make (or gmake)
INSTALL (default PREFIX is /usr/local):
$ make install
or as an example:
$ sudo make PREFIX=/usr install
$ doas make PREFIX=/opt install
You can press 'k', 'm', 'g' to display results in KB, MB of GB respectively.
The plan is to rewrite the whole program to log system information over time to disk so we can do nice things with E and displaying system information (not duplicating loads of code).
For information on tingle, see src/tingle/README.