Last active
October 20, 2017 20:57
-
-
Save lifofernandez/0fcc337e47a85d3d4bf5b7b91182100a to your computer and use it in GitHub Desktop.
system info for dwm bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RAM: `tac /proc/meminfo | grep -e MemTotal -e MemFree | awk -F ' ' '{print $2}' ORS=' '` | |
| CPU:`cat /proc/stat | grep '^cpu ' | cut -f 2-6 -d" "` | |
curl -s ipecho.net/plain > ip_public | |
| IP:`cat ip_public` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment