Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SysInfoBar on Linux
CPU Info: /proc/stat, line "cpu", first 4 columns
Net Info: /proc/net/netstat, IpExt lines, match "octets" column titles with values
Bat Info: /sys/bus/acpi/drivers/battery/PNP0C0A:00/power_supply/BAT0/capacity
Mem Info: /proc/meminfo
- split up SysInfoBar for each OS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment