G Hazel
2011-02-07 17:37:59 UTC
I've got a mystery process writing to my /etc/inet/hosts file. I'd like to
find a dtrace script that can monitor the file and do a "ps -ef" or
equivalent to capture the process that's writing to the file. I'm a dtrace
newbie, and was hoping someone here could point me in the right direction.
I've googled it and found some scripts that apply to zfs, this is just ufs.
find a dtrace script that can monitor the file and do a "ps -ef" or
equivalent to capture the process that's writing to the file. I'm a dtrace
newbie, and was hoping someone here could point me in the right direction.
I've googled it and found some scripts that apply to zfs, this is just ufs.