开发者

Mac OS X: getting names of changed/written files

开发者 https://www.devze.com 2022-12-27 01:11 出处:网络
I remember having a command line tool on an older Mac OS X version (Tiger?) that told me the name of every file that was written to (or read) by any process on the system. It used fseventd (? or somet

I remember having a command line tool on an older Mac OS X version (Tiger?) that told me the name of every file that was written to (or read) by any process on the system. It used fseventd (? or something like that). Is there something like that for the newest Mac OS X (10.6)? It should be run in a terminal window and then I can use the system as normal. Let's say I type cat /etc/passwd, the output of that program would be similar to

/bin/cat
/etc/passwd

I can't use lsof开发者_运维问答 because I can't get the timing right.

Is this clear or do you need more information?


Run fs_usage as root.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号