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
141 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…
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

810 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