schmichael/mmstats — Issue #6: Need an orphaned mmstat cleaning script
Author: schmichael
Created: 2012-01-16 22:24:07+00:00
State: open

Python's atexit handler isn't foolproof and in production it's common for orphaned stale mmstat files to hang around and confuse readers.

A simple cleaning script would check the sys.pid stat's status and remove the file if the PID doesn't exist.