htop

htop is a better top, especially for multi-core CPU and large memory.

Install htop

sudo apt install htop
sudo apt install s-tui

Use htop

htop

CPU test

  • https://cylab.be/blog/330/benchmark-linux-systems-with-sysbench
sudo apt install sysbench
sysbench cpu run

RAM test

  • https://linuxhint.com/check-ram-ubuntu/
sudo memtester 10G 1