?
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
Medium Priority
?
151 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
3 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 500 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

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…
With more and more companies allowing their employees to work remotely, it begs the question: What are some of the security risks involved with remote employees and what actions should we take to secure them?
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Integration Management Part 2
Suggested Courses

850 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