Re:Strace - The Sysadmin's Microscope
by spullara on Friday January 06, 2012 @12:12AM
(#3432066)
For those of you on the Mac that doesn't have strace but does have dtrace, here are some preinstalled dtrace scripts you have at your fingertips:
dtruss - similar to strace
opensnoop - all files
nettop - all network access
iosnoop/iotop - all io
execsnoop - all new processes
errinfo - all system calls resulting in errors
Not exactly the same info but I think much more powerful as it is system wide and you call always filter out what you don't need to know, or write your own scripts!
dtruss - similar to strace opensnoop - all files nettop - all network access iosnoop/iotop - all io execsnoop - all new processes errinfo - all system calls resulting in errors
Not exactly the same info but I think much more powerful as it is system wide and you call always filter out what you don't need to know, or write your own scripts!