Suhas .
asked on
Disk activity of a process ( File path ) of Resmon through backend
Hi Experts,
I am looking for a way to extract the file information from disk activity in resource monitor for a specific process through command line.
Could you please let me know how to achieve this? I tried different counters and command line options using typeperf and logman and unable to find appropriate command.
[embed=file 1460820]
Resmon.jpeg
I am looking for a way to extract the file information from disk activity in resource monitor for a specific process through command line.
Could you please let me know how to achieve this? I tried different counters and command line options using typeperf and logman and unable to find appropriate command.
[embed=file 1460820]
Resmon.jpeg
ASKER
Hi,
The goal is to track a specific process disk activity and in that which specific file is doing more write operation and filling the disk space.
we are running the stability test for few days. once the command is in place:
1. will write the batch script or power shell script to collect the information periodically may be once in 10mins and write to a flat file or database.
2. If #1 is successful, my plan is to integrate that in a time series database for tracking the historic information through Grafana + InfluxDB setup
thanks,
Suhas
The goal is to track a specific process disk activity and in that which specific file is doing more write operation and filling the disk space.
we are running the stability test for few days. once the command is in place:
1. will write the batch script or power shell script to collect the information periodically may be once in 10mins and write to a flat file or database.
2. If #1 is successful, my plan is to integrate that in a time series database for tracking the historic information through Grafana + InfluxDB setup
thanks,
Suhas
procmon could be used. https://www.itninja.com/blog/view/procmon-command-line-switches-including-the-hidden-capture-switch shows logging options and how to load a specific filter set (/LoadConfig ).
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
ASKER
Hi McKnife,
I tried procmon before and after your recommendation more in detail, still unable to figure out the command that can extract the disk write information of files of a specific process.
I tried procmon before and after your recommendation more in detail, still unable to figure out the command that can extract the disk write information of files of a specific process.
If you can achieve it in the procmon GUI, you will be able to achieve it via command line.
Can you do it in the GUI?
Can you do it in the GUI?
ASKER
I couldn’t find appropriate filter to fetch the information that provides the information through resmon in Disk information. any help is much appreciated.
thanks,
Suhas
thanks,
Suhas
You wanted to "extract the file information", you wrote.
Procmon shows what file is read by what process and indicates how often it is being read and at what offset and what length. So what info is missing?
Procmon shows what file is read by what process and indicates how often it is being read and at what offset and what length. So what info is missing?
ASKER
i couldn’t figure out information of disk read and disk write of a specific file. can you please provide an example with command?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi McKnife,
Thanks for the information.
This filter provide the files of a process but it doesn't provide the information of disk utilisation of each file of a process ( Disk read and write information ).
Thanks,
Suhas
Thanks for the information.
This filter provide the files of a process but it doesn't provide the information of disk utilisation of each file of a process ( Disk read and write information ).
Thanks,
Suhas
As said. You see offset and length information of read and write. Please see if that is translatable in a way you can utilize.
ASKER
Thanks for all the details. I will extract the further information and try to generate the required metrics.
What would you like to do with this information you hope to gather?