Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
?
149 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 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

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…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

636 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