Hi
I need to know a cli command that I can run on esx host shell to find the cpu and memory usage.
I tried using
export TERM=xterm
esxtop "-n 1" > out.csv to capture just one iteration of esxtop
But it shows garbage. It works on the terminal without redirection to a file. But how do I capture in a file?
Also what command I should use to get physical memory usage as esxtop does not show %mem
Would really appreciate the response.
Thank you
.