Blame


1 c440ada7 2024-01-04 benni # apmtop
2 c440ada7 2024-01-04 benni Monitor power-consuption-related statistics on OpenBSD.
3 c440ada7 2024-01-04 benni
4 c440ada7 2024-01-04 benni ## Installation
5 c440ada7 2024-01-04 benni ```sh
6 c440ada7 2024-01-04 benni $ make
7 c440ada7 2024-01-04 benni # make install
8 c440ada7 2024-01-04 benni ```
9 c440ada7 2024-01-04 benni
10 c440ada7 2024-01-04 benni ## TODO
11 c440ada7 2024-01-04 benni - getopt(3)
12 c440ada7 2024-01-04 benni - Better error handling
13 c440ada7 2024-01-04 benni - Code looks a little ugly
14 c440ada7 2024-01-04 benni - Bonus: calculate the cpuspeed() multiple times, between calls to update(),
15 c440ada7 2024-01-04 benni and average the result, to make the measurments more precise
16 c440ada7 2024-01-04 benni (cpuspeed can jump a lot, even within 100ms)
17 c440ada7 2024-01-04 benni - Bonus: follow style(9)