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).
Up until recently Mac shipped with an 3.x version of Bash. To star it had a version of sed that was in effect broken in several use cases. Mac also lacks the system profile capabilities of Linux such as perf and the new BPF tools.
Most of the tools like top, netstat, strace, and vmstat aren't as up to date on Mac either.