- Open the Start Menu and type “cmd”.
- Type “netstat -a” and press Enter.
- Look for the line that says “PID USER PID PPID TTY TIME CMD” and change it to “C:\Windows\system32\cmd.exe” or any other path you prefer.
- Type “netstat -a | grep cpu | awk ‘{print $2}’” and press Enter to view the CPU utilization of all programs on your computer, including those that are not running as a single process, as well as their processes ID (PID) and time stamps.
Steps to Limit CPU Usage for Single Program in Windows
Change Process Priority
It turns out that your first option is to give the programme that is consuming more resources than it ought to a different priority. Although altering a process’ priority won’t directly reduce its CPU usage, it will reduce the process’ priority and the CPU Scheduler will allot it less CPU time as a result. Changing the priority of the programme that is consuming more resources than it should is, it turns out, your first option. Although altering a process’ priority won’t directly reduce its CPU usage, it will reduce the process’ priority and cause the CPU Scheduler to grant it less CPU time.
Step 2: In the Task Manager, you will see a list of all the active tasks. Step 3: Scroll down to the bottom of the list and click on the “End Task” button. This will close the Task Manager and stop any active tasks from running.
In the Details tab, you’ll see a list of all the tasks that are currently running. You can right-click on any task and select “End Task” to stop it from running.
To change the priority of a process in Windows, you must first find the process for which you wish to change the priority. On the Details tab of the Processes window, look for the process name and its associated icon. The process with a higher priority will be in blue, while the lower-priority process will be in red. ..
Step 4: Right-click on the process and from the drop down menu, choose Set Priority.
Step 5: On the follow up menu, lower the priority from what’s already selected. A black dot is shown before the selected option.
Step 6: Once you have done that, the priority of the program should be changed to ensure that it is more effective.
Change CPU Affinity
- In the Task Manager, click on the Processes tab.
- Scroll down to the bottom and click on the name of the process you want to change its affinity to.
- Change the affinity by clicking on the Change affinity button.
Step 2: Type “Task Manager” into the search bar and hit enter. Step 3: Once you’ve found the Task Manager, click on it to open it up. Step 4: In the Task Manager, you’ll see a list of all of your currently running tasks. Step 5: To start a task, simply click on it and then select “Run as administrator.”
On the Task Manager window, switch to the Details tab. This will show you all of the active tasks and their associated resources. You can then use the Resource Monitor tool to see how much memory and CPU time each task is using. ..
Step 3: Look for the process of the program and then right-click on it.
The Set affinity option provides a way to change the default settings for your account with the help of a third-party service. This will allow you to customize your account so that it is more like your own.
To reduce the number of cores the process has access to, untick the checkboxes. ..
The OK button will now disappear and the computer will start up.
Step 7: You have successfully changed the affinity of the process. Remember that this is a reset process so you will have to do it again once the process starts over.
Use Third Party Utility
Finally, using a third-party software created for managing the processes on your computer is another option to restrict a program’s CPU utilization. We’ll be using the Process Lasso programme in this instance, which is free but also available in a paid edition. However, the free version should work just fine for the indicated purpose. Additionally, Process Lasso contains a CPU Limiter that you may use to restrict the number of CPU cores a process can access after it hits a specific level. Let’s take a closer look at this in the section below:
Step 2: Once you have downloaded and installed Process Lasso, open it and click on the “Create a new process” button. Step 3: On the next screen, you will be asked to provide a name for your new process. You can either choose a name that best describes what your process does or use a generic name that will be applicable to many processes. Step 4: Next, you will be asked to provide some basic information about your process. This includes the type of process (e.g. web application), the target audience (internal or external), and the estimated time it will take to complete. Step 5: After providing your information, you will be given an overview of your process and some tips on how to improve it. Finally, you will be given the option to save your process or preview it before continuing. In short, Process Lasso is a tool that can help you create custom processes for various purposes such as developing web applications or marketing campaigns. ..
Step 3: In the left pane, click on the “Processes” tab. Step 4: In the right pane, click on the “Lasso” button. Step 5: In the “Lasso Processes” dialog, select all of the processes that you want to lasso. Step 6: Click on the “Lasso” button to lasso all of these processes together.
Step 3: With Process Lasso open, you will be able to see a list of all the running processes. Right click on a process and you will be able to change the priority, affinity and much more. To change the mentioned options permanently, use the Always option provided in the menu.
Step 4: To use the CPU Limiter, right click on a process and choose the CPU Limiter option.
To activate the CPU Limiter, on the follow up window, you will need to add a rule. ..
To activate the CPU Limiter feature, you must decide on a certain percentage after a period of seconds. ..
In this step, we will reduce the CPU core count of a process to a specific number and for how long. We will also measure the performance of the process after reducing it to that number of cores.
Step 8: Click the “Add Rule” button. Finally, click “OK.” ..
Final Words
To limit CPU usage for a single program in Windows, you must first identify the programme that is using a high amount of CPU time. Once you know this, you can try to change the priority of that programme so that it doesn’t run in the background as often. Additionally, if your computer is equipped with an overworked CPU, it may be necessary to disable some features or adjust your settings to ensure that no programmes are using too much CPU time.