How to show CPU History For Last 7 Days

Copper Contributor

Can anybody tell me How can we see the CPU History for at least the last 7 days?

In the Task Manager, it is only showing the history of the last 60sec. I have also mentioned below the screenshot of thatScreenshot (113).jpgIf anybody suggests me a Solution regarding this then that will be very helpful.

4 Replies
Performance Monitor and specifically Data Sets Collection may get what you want.

https://docs.microsoft.com/en-us/learn/modules/monitor-windows-server-performance/6-use-data-collect...

The Task Manager only shows 60 seconds at a time. You can set up a data collection to poll the CPU every second and have that run for however long you need. You can then open the saved performance monitor file and review. Be aware that this may use up quite a bit of hard disk space the longer it runs,
By doing this activity on my system how many days of data can I get?
Because why I am asking because my system got shutdown sometimes automatically that time I absorbed the CPU and RAM process increases above 85%.
So I need to know which application takes more process or data in my system.
You would need to set this up and run it for the period you want to keep the data for - by default, performance data is lost unless you explicitly set this up.

If you are troubleshooting a computer crashing or shutting down, you might be better off looking at the event viewer for event ID's 41,1074,1076,6005,6006,6008,6009,6013 or for performance issues event ID 2004

These event ID's should give you an idea on what happens.

https://www.shellhacks.com/windows-shutdown-reboot-event-ids-get-logs/
https://morgantechspace.com/2013/12/Event-ID-2004-Resource-Exhaustion-Diagnosis-Events.html

@HidMov So, I have read the article which you mentioned in the comment and I found that the activity which is in the article will help us to get the future CPU History if we execute the process as per in the article but not the previous CPU History.
So, Can you suggest something through which I can gather the previous  CPU History?