CGi interview question

How do you check CPU/memory usage in Linux? Difference between top and htop?