Link to home
Start Free TrialLog in
Avatar of Suhas .
Suhas .Flag for United States of America

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
Avatar of McKnife
McKnife
Flag of Germany image

Through command line, you would only get the current disk activity, of the very millisecond it's being queried. Is that really your goal? You would not see what is being used the next millisecond, so the use is very limited.

What would you like to do with this information you hope to gather?
Avatar of Suhas .

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
Avatar of Suhas .

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.
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?
Avatar of Suhas .

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
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?
Avatar of Suhas .

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
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Suhas .

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
As said. You see offset and length information of read and write. Please see if that is translatable in a way you can utilize.
Avatar of Suhas .

ASKER

Thanks for all the details. I will extract the further information and try to generate the required metrics.