tag:blogger.com,1999:blog-1623059707500976008.post9161931139797217770..comments2023-12-16T23:58:41.575-08:00Comments on another day another vice another roll of the dice: Finding unused files in a SCons project with Process Monitoranatoly techtonikhttp://www.blogger.com/profile/07847778636782899903noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1623059707500976008.post-48052796556590832582011-04-07T10:31:06.245-07:002011-04-07T10:31:06.245-07:00Thanks. Thats a good start at least. Unfortunately...Thanks. Thats a good start at least. Unfortunately, PM configuration is in some binary format, so there still is no way to setup filters from Python.anatoly techtonikhttps://www.blogger.com/profile/07847778636782899903noreply@blogger.comtag:blogger.com,1999:blog-1623059707500976008.post-61815975090029073962011-04-07T10:22:03.015-07:002011-04-07T10:22:03.015-07:00procmon can be automated from the command-line lik...procmon can be automated from the command-line like so:<br /><br /><br />set PM=C:\path\to\procmon.exe<br />start %PM% /quiet /minimized /backingfile C:\path\to\pytest.pml<br />%PM% /waitforidle<br />start /wait C:\path\to\python.exe myscript.py<br />%PM% /terminate<br />start %PM% /quiet /minimized /openlog C:\path\to\mydump.pml /SaveAs C:\path\to\mydata.csv<br /><br />The downside is that the dumps can be huge, so this may not work so well with multi-hour builds of native code.Garenhttps://www.blogger.com/profile/17855999055862045809noreply@blogger.com