From time to time, your team, or our Support team, may need to find out how much load is on your server machine, how much memory you have remaining and some information about your CPU's. This article describes how to find out this info in Linux and Windows. If requested by our Support team, please send the outputs / screenshots to us via your ticket.
COMMANDS TO USE IN LINUX
For CPU / cores information:
The output of 'top' or 'ps -ef|grep 'whoami'' is what we want.
The 'top' command is generally used to check memory and cpu usage per process, and load on the server. It also reports total memory usage and can be used to monitor the total RAM usage. The header on output has the required information. Here is a sample output:
The 'ps -ef|grep 'whoami'' command in Linux is used to show what UNIX account you're using. Here is a sample ouptut:
STEPS TO TAKE FOR WINDOWS
For CPU/ cores information:
- Open Task Manager
- Go to the Performance tab and select 'CPU'.
The name and speed of your computer’s CPU appear here. It will tell us how many cores you have and what the load is like on your machine. (If you don’t see the Performance tab, click “More Details.”). Here is an example of the output:
For memory information:
- go to the Windows Start button and right click on it
- from the list that appears, select ;System'
The screen returned will tell us how much RAM you have and how much of it is free. Here is an example of the output