Re:Why are developers switching from Mac OS X to Linux?
by marios on Wednesday January 04, 2017 @09:33AM
(#13318530)
Mac doesn't have perf, but it has DTrace. They added it in OS X 10.5 which was released 9 years ago.
Regarding the other tools you mention, keep in mind they are system tools. You cannot simply take the source of Linux netstat, compile it on your mac and call it a day. The data displayed by these tools is obtained from the kernel and different kernels have different interfaces (for instance, OpenBSD doesn't have /proc which is where Linux netstat gets information).
Regarding the other tools you mention, keep in mind they are system tools. You cannot simply take the source of Linux netstat, compile it on your mac and call it a day. The data displayed by these tools is obtained from the kernel and different kernels have different interfaces (for instance, OpenBSD doesn't have /proc which is where Linux netstat gets information).