Voci Technologies interview question

How to check Memory stats and CPU stats as a Linux admin