Great tool: [WayBack] htop – an interactive process viewer for Unix because it’s both interactive and supports a wide range of OSes: Linux, FreeBSD, OpenBSD and Mac OS X.
Thanks to Warren Postma who suggested it in his comment at [WayBack] 18 Useful Commands to Get Hardware Information on Linux – Linuxslaves.
Note that on OS X you get this warning after brew install htop
:
htop requires root privileges to correctly display all running processes,
so you will need to run `sudo htop`.
You should be certain that you trust any software you grant root privileges.
On Linux you don’t get this message as there you have the /proc
file system providing enough information as explained at [WayBack] osx – Why does htop on Mac OS X require root privileges to see data for all processes, but on Linux it runs without root – Super User.
A workaround (involving the setuid
bit) is at [WayBack] Running htop on Mac OS X needs root. Why?! | Blog | JoeNyland.me or by running visudo
ensuring you don’t need a password for it at [WayBack] osx – htop isn’t returning CPU or memory usage!? – Super User
–jeroen

Like this:
Like Loading...