You should regularly monitor the server load to verify that it is normal and the server resources are enough to run your software/applications smoothly. Checking the server load helps to troubleshoot the server slowness. Also, you can identify the server resource that requires attention. We can get RAM and CPU resource usage from the Windows Task Manager.
How to start Windows Task Manager?
- Log in to your Windows server.
- Right-click on the taskbar in your machine and click on the Task Manager, or you can run the command taskmgr
- Once Task Manager opens, you will find the tab like Processes, Performance, Users, Details, and Service.
You can find the number of processes running on the windows server at the Processes tab and the Total percent of RAM and CPU usage. You can sort the process with RAM and CPU to identify which process is taking high RAM or CPU usage. You can right-click on any of the tasks and kill the same task directly from the Processes tab.
The performance tab provides useful data. Here, you can see the graph-based CPU data, RAM, and Ethernet performance for the last 60 minutes. With this data, you can get an idea of whether the resource spike is temporary or consistant.
At the CPU performance option, you can find information like the type of CPU, the number of processes and processors, threads, etc. You can check the server uptime to see how long your server is up. Uptime can help to verify if the server is rebooted and started successfully. Also, it can help troubleshoot unexpected restart or shutdown.
The memory option gives the information on the total amount of RAM/Memory in the system. Also, how much memory is in use and how much is available, and what is in use and available. The committed option shows the virtual memory and the pagefile (Extension of RAM) on the Disk while the cached option shows the total RAM used by Windows. The paged pool shows memory used by Windows. It can be paged out to the pagefile on Disk. In case of low memory, non-paged couldn't page to the pagefile.
Ethernet information represents the type of network adapter and its number with a graph-based on inbound/outbound traffic. You can also find the Network adapter name, Type of connection, machine IP Address, etc. If you right-click on the graph, you can find the important details like Network utilization, Link speed, state, sent and received bytes, etc.
At the Users tab, you can see the list of users currently connected to the server. Also, how much of the CPU/RAM resources they are using. You can right-click on any user and disconnect them and send them a message. If any of the users are consuming a high load, you can directly disconnect their session from here.
The Details tab gives all the running programs/processes on the windows machine with their PID (Process ID) number. Additionally, you can check the process's status, the user who is running the same process, the amount of CPU and RAM it is using, and the description of the process. Click on the column name to sort from high to low or another side. You can track a specific process using the PID number that you get from the event log. You can right-click on any process to choose the option like ending any task, setting up priority, etc.
You can find all the services and the description and PID (Process ID) on the windows machine at the Services tab. You can view which service is running and which is in the stopped status. You can right-click on any of the services, start/stop/restart any of the services from here.
What is Resource Monitor and How to Start It?
- Log in to your windows server and click on the start button.
- Type resource monitor and click on the application.
Once the Resource Monitor is open, you will find the same information you can view in the Task Manager. For this reason, we'll only cover the overview and a brief description of each tab in this article. You will see the CPU, Memory, Disk, and Network data along with graphs in the overview tab. You can expand or collapse each section. Each option will show the current resource usage and the highest active time.
Here you will find a new option called Disk. You can view the processes of how much a task is reading/writing to the Disk. The graphs show the total disk activity and Queue Length. You can identify how many disk I/O operations are in the queue and waiting for their turn in the Disk Queue length. If the active time in Disk is above 80% and at the same time disk queue length is > 2, it means the processes are waiting. The performance of your Disk is poor, and it affects the system performance.