How to check server CPU and memory usage via command line (SSH)

Log in to the server via SSH. Execute the command below to run top utility: