aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auxstats/Linux.c
Commit message (Collapse)AuthorAgeFilesLines
* cmd/auxstats: improve network device name matcher in LinuxNicola Girardi2021-10-181-1/+3
|
* cmd/auxstats: improve wireless interface name matcher in LinuxNic2021-10-171-1/+4
|
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-3/+3
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* auxstats: replace /proc ACPI calls with /sys ones (#245)Zach Scott2019-09-191-22/+8
| | | | | | According to <https://askubuntu.com/a/309146>, use of `/proc/acpi` to get battery usage is deprecated. This commit replaces the two files from this API with the single file `/sys/class/power_supply/BAT0/capacity`, simultaneously removing the need to calculate battery percentage.
* stats: make more stats work in LinuxFazlul Shahriar2009-08-081-6/+66
| | | | http://codereview.appspot.com/96084
* auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski)Russ Cox2007-09-151-5/+26
|
* add -W to specify window size.rsc2004-04-291-8/+7
| | | | various other little fixes.
* various bug fixesrsc2004-04-241-1/+11
|
* stats helperrsc2004-04-231-0/+177