9

I'm trying to debug some issues with my Mac. This machine is used as continuous integration server. It stops responding from time to time. I think it could be some software issue, since the machine is working (so i.e. it's not a kernel panic) - that is when I go to the server room I see the login screen and I can move the mouse. Unfortunately I can't login neither directly nor by VNC or SSH.

There is a nice tool that helps in debugging this type of problem called aTop. It's like top but with history. Unfortunately it's Linux-only software.

Is there any tool that is similar to aTop for OSX?

3 Answers 3

1

glances is a good alternative to atop for Mac. It has almost all features of atop and has several extensions as well. Users can also easily build new extensions on top of it. You can disable/enable logging history.

2
  • Hmm, glances crashes a lot for me. It's also quite buggy. I miss atop! May 14 at 23:02
  • @CorneliusRoemer You should raise a bug report with crash details. I have never seen it crashing till now. May 15 at 6:02
3

You may wanna try htop. In the homepage it says it's "htop - an interactive process viewer for Linux", but it actually also works for OS X.

3
  • 5
    thank you for answer but unfortunately htop doesn't store history. Nov 2, 2013 at 15:12
  • Terminal <= brew install htop Nov 18, 2017 at 8:31
  • 1
    atop has swap in / swap out activities of the kernel, which are not accessible in any macOS installable tooling I've found so far..atop was great at showing in red over swapping activities..we do have monitor / memory pressure that accounts for swapping activities..but would love to see a more detailed per process swapping view like atop used to offer on linux.. Jul 22, 2020 at 8:58
1

You may want to try sysdig for recording and digging into what is happening on a server: brew install sysdig.

1
  • Unfortunately, I get an error: "live capture not supported on Darwin" Jan 14, 2023 at 10:48

You must log in to answer this question.

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