Reputation: 11
I'm using procmon to save logs while running some tests on VM. I'm using python and pytest but I think is irrelevant here. For every test I'm running to start procmon with:
psexec.exe -accepteula -s -d -i 1 procmon.exe /AcceptEula /Quiet /BackingFile c:\temp\logs.pml
If a test failed, I'm terminating the procmon with:
psexec.exe -accepteula -s -d -i 1 procmon.exe /Terminate
and then I'm saving the snapshot of the VM. To open the logs.pml to be readable, I'm running after I entered to the VM's snapshot:
procmon.exe \openlog c:\temp\logs.pml
But sometimes I get the error:
the file logs.PML was not closed cleanly during capture and is corrupt.
Upvotes: 1
Views: 1844