Have you ever wondered why esxtop will not work in a Mac OS X terminal?
This has been on my mind lately and i’ve managed to get esxtop to work in Mac OS X.

Just change the terminal emulation to xterm instead of xterm 256
Launch terminal -> Terminal -> Preferences -> Profiles -> Select Profile -> Advanced -> Change declare terminal as to “xterm”

….the why?
Esxi by default uses the busybox shell which uses xterm for emulation. By default, the Mac OS X terminal uses xterm 256. esxtop does not play well with xterm 256.

To check what terminal emulation you currently are on, from the commandline run the below command:
echo $TERM