in reply to Checking for unlinked process executables
still not foolproof, of course. It's also far more portable to use utilities like lsof than to grovel around in /proc which doesn't even exist on some systems. But on Linux/x86 (and presumably Linux/others too) all the information you need is in /proc/PID/maps.foreach PID lsof -p PID | grep FILENAME and parse out the inode number stat FILENAME do the inodes match?
|
|---|