To run in batch mode, you must first prepare for batch mode.
- 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.
You can now use resxtop (or esxtop) in batch mode.