Solved

Automating ProcMon from SysInternals

Posted on 2011-09-07
5
1,526 Views
Last Modified: 2012-05-12
Hello,

I am looking to use ProcMon to monitor a single process for all File System, Network, Process\Thread and Profiling Events activity. (Registry activity would be an overwhelming amount of data)
I would like to run ProcMon in this manner against a single process entirely in the background. Ideally, I would like to close and then export the data captured on a periodic basis and then continue monitoring for a short time period and then export.....etc and the loop continues. I am trying to minimize as much as possible the possibility of killing or even affecting the system I am running ProcMon on.  Thanks for any feedback on how I can automate this in a transparent manner.
0
Comment
Question by:Charlie_Melega
  • 3
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
Govvy earned 500 total points
ID: 36497869
procmon /Quiet /LoadConfig <file> /Minimized /BackingFile abc.PML

where you create the config file for the process you wish to monitor beforehand...
0
 

Author Comment

by:Charlie_Melega
ID: 36498642

Thanks Govvy. Based on this, how often would the process data I capture be saved to the "BackingFile"? Is there a specific file size limit for this type of BackingFile and would another file be opened an incremented? I am trying to continuously write this data. The file, with the specific process data written,  would be closed and a new one opened based on a file size or time limit. Thanks again.
0
 
LVL 13

Expert Comment

by:Govvy
ID: 36498808
Run from the command prompt

>procmon /?

You will see the options are unfortunately limited :(
0
 

Author Comment

by:Charlie_Melega
ID: 36524458
One last question on this, how is a ProcMon config file created?  
0
 

Author Comment

by:Charlie_Melega
ID: 36525754
disregard, I just exported the current configuration to a pmc file and will use in command line syntax provided. I will say that these files grow very large, very quickly. It's understandable based on the data captured but I need to pare this down a bit and also build a script that will delete the folders contents of the backing files so that there are no more than 2 at a given time. After the 2nd file closes, I need to delete both and start with the original file name and loop this process.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

932 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

14 Experts available now in Live!

Get 1:1 Help Now