3 ms·
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 a
by marios 10y ago
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).
- base698 10y agoDtrace is nice but everything seems trending away from it. I know you can't just compile and call it a day... Kind of what I was getting at :)