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
143 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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