Solved

How to log memory of a particular process in to a file at regular interval say for every 10 seconds

Posted on 2006-07-05
5
140 Views
Last Modified: 2010-04-13
Hello,

I need to get the memory graph of a process for 24 hours run of that.

In Windows XP, i have written a batch file using tasklist command.

How can i do that in Windows 2000 as tasklist is not available.

Thanks in advance
0
Comment
Question by:k_kalyan
  • 2
5 Comments
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17046474
Peformance monitor should do it.  Hit the + button in system monitor to add a counter and look under the "Process" counter and log the various memory related counters, you can select the process from the "instance" list.

If this gives you what you need leave it running for 24hrs or set a pefromance log going to a file.
0
 

Author Comment

by:k_kalyan
ID: 17049486
Hi agon-it ,

I am almost new to this Windows platform.

I just could not get " you can select the process from the "instance" list"

Could you please be more elaborative on Where is this instance list ?.

Thanks & Regards
Kalyan
0
 
LVL 43

Accepted Solution

by:
Steve Knight earned 125 total points
ID: 17049518
From memory click on the + icon, choose Process (not Processor etc.) from the drop down box. Below that you can choose which counter you want to choose, e.g. I think there is something like Allocated Bytes.  To the right of that you then have a list that says "instances" which you can select with a radio button "all instances" or "selected".  Choose selected which defaults to _total.  You can then choose the specific process or processses you are interested in by control clicking.

Have a go and come back if you need more info, not on a 2000 box to check above is exactly right at the moment.

Try it out is "system monitor" then you could go into the log option and add the same counters to a log to run every 10 secs as you requested.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now