Links

Get System info using Shell Commands

Posted on 19 July, 2020

Memory Used/Total

free -h | awk '/^Mem:/ {print $3 "/" $2}'

Show CPU temperature

sensors | awk '/^Core*/ {print $1$2, $3}'

Most Memory Intensive processes

ps axch -o cmd:15,%mem --sort=-%mem | head

Most CPU Intensive processes

ps axch -o cmd:15,%cpu --sort=-%cpu | head
I wrote a small shell script to get (almost) realtime update of your system.