It seems that only iostat were available on mac. But I am looking for more comprehensive set of stats including cpu, memory, and network. What are the options here?


Even though this is old, time travelers might find Dabz dstat fork/port useful. See:

dstat is a Python script. The Makefile file has to be adjusted slightly to install to macOS (e.g. the install -D... switch doesn't exist in the default macOS install bin) - there is nothing to compile though. Additionally it's recommended to install brew/python2 and a separate Python env to install additional required packages with pip.

A lot of stats don't work though because they rely on Linux paths (e.g. /proc).

| improve this answer | |
  • 1
    Did you look at it? The Makefile references rpmbuild unconditionally. Does not sound like a Darwin platform to me.. – javadba Mar 25 '18 at 15:46
  • OK I'll accept this as "the closest we can get" – javadba Mar 25 '18 at 21:13

Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes some of the limitations and adds some extra features.

As you said, iostat is available on macs. But, additionally you can install ifstat using homebrew by typing the following:

brew install ifstat

To install homebrew -if you haven't it yet-, just use the following command:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
| improve this answer | |
  • 3
    Turns out I really need dstat- and not something else.. I do charts for demos off of it. Big big hole in the mac offering. – javadba Jun 20 '15 at 9:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .