Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 84
  • Last Modified:

Reg CPU & memory usage and see which is consuming more resources at that particular point of time?

How do we be able to get the following  reports in Windows Server 2012R2 ?

 1) which process was utilized more the CPU usage from  <time:date:X>     to < time:date:Y>

2) which process was utilized more  the memory usage from time:date:X     to  time:date:Y

I am having script for getting current/present top 10 memory & CPU usage and the user using it but i need at that particular point time(i.e., means last week).Please respond ASAP
Thanks in advance!!
0
Viswanath Chilukuri
Asked:
Viswanath Chilukuri
  • 5
  • 4
  • 2
  • +1
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
I don't think you can go backwards and get this information if you were not collecting it.

To go forward, run Performance Monitor and set up a performance log to monitor. I have normally just set up the item to monitor and let it run for an hour or two and look at the graphs that it produced.

Normally just watching Task Manager will highlight what I need.
1
 
Viswanath ChilukuriAuthor Commented:
I am having tool to get the graphs for memory/cpu usage  but i require is that i need to check which processes is consuming that much of memory /cpu at that particular time.
0
 
John HurstBusiness Consultant (Owner)Commented:
Run Resource Monitor (also in Admin Tools), let it run for an hour or two. It details the processes using Disk or CPU as you choose. But you need to select a point where you can monitor it.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
MereteCommented:
Adding to John,
If you're not sure where it is  Viswanath,  nice name :)
open the task manager then Performance then below is the Resource monitor tab  this opens another window with the graphs but also the running tasks on the left you can put them side by side or just over each other
resource monitorThere is also a whole lot of settings that can be added to the task manager running processes,
at the top is the tabs put it on processes  go to the top VIEW,  last is select columns
tick memory private set and peak working set and description, right click on the high CPU and memory service. ok it and now look in the taskmanager
select columns 1taskmanager add columns
0
 
Gerald ConnollyCommented:
As John said, if you have not been collecting that information at the time, you will NOT be able to go back and analyse it now.
0
 
Viswanath ChilukuriAuthor Commented:
Hi Merete

Task Manager in Windows Server 2012 R2 is different we wont get option to select the Process from memory tab.Thanks for info John
0
 
John HurstBusiness Consultant (Owner)Commented:
Please let us know how you make out collecting the correct information
0
 
Viswanath ChilukuriAuthor Commented:
Don't know John still i am searching multiple sites to resolve this issue,i didn't get correct info regarding this issue.As our client asked us to know which process was consumed at that particular time(its 10 days before).As that server consumes 20-25% memory normally but it consumes 70-75% for 3 hours continuously and again it consuming memory normally after 3 hrs.
Capture1.PNG
0
 
John HurstBusiness Consultant (Owner)Commented:
That is a lot of CPU and Memory consumption. You should be able to determine which process is doing this from the above tools.

Also check for viruses and malware. Do a full scan.
0
 
Gerald ConnollyCommented:
As John and i have already said, if the system in question was not recording CPU useage on a per process basis at the time of the incident (10 days back) then it is IMPOSSIBLE to reconstruct the per process now.

All you can do is to turn on recording for the future (be aware it may apply a load on the system) so that any FUTURE events can be analysed.
0
 
Viswanath ChilukuriAuthor Commented:
Hi All

Thanks for yours suggestions & comments,the issue was resolved now,as i check the VM from Vcenter end their i found the VM memory is getting ballooning,as i checked all the process are consuming less memory only.only because of this ballooning the memory got less in that VM and it reached to 75%.
0
 
Viswanath ChilukuriAuthor Commented:
its resolved by own
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 5
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now