Top is used to help how much memory or cpu is bring used.
From the command prompt.
top -o mem
From inside top.
press 'o' and type the column header.