Find CPU and Memory in Ubuntu using terminal

Here I share that you can issue a command that will tell you how much memory is used or free as well as how much CPU is being used?

You start by telnet/ssh into my Ubuntu box so I would like to pull stats through issuing commands versus using VNC

Memory

To find what memory is being used and what is free you can issue the command

free -m

If you want to get information about your machine using a command issue

sudo dmidecode | more

or you can try and use

lshw

CPU

For CPU information, issue the command

cat /proc/cpuinfo

What I use personally which this tells me everything I need to know in most cases in one screen is the command

top

Related Articles

Responses