Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Exploring OS X with dtrace' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Exploring OS X with dtrace
Authored by: kaih on Oct 31, '07 02:02:05PM

No, they're subtly different.

lsof will take a "snapshot" and give you a one-time view of all file handles (and this includes things like TCP ports) that are open at the instant the program was run.

using dtrace, you will see file system activity in realtime - it's more similar to:

sudo fs_usage | grep -i open


---
k:.



[ Reply to This | # ]