To run in batch mode, you must first prepare for batch mode.
Procedure
- Run resxtop (or esxtop) in interactive mode.
- In each of the panels, select the columns you want.
- Save this configuration to a file (by default ~/.esxtop50rc) using the W interactive command.