Forum Discussion
Pranjal_Priyesh
Aug 25, 2022Copper Contributor
How to show CPU History For Last 7 Days
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 thatIf anybody suggests me a Solution regarding this then that will be very helpful.
- HidMovSteel ContributorPerformance 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-collector-sets-to-analyze-server-performance
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,- Pranjal_PriyeshCopper ContributorBy 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.- HidMovSteel ContributorYou 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