After you have prepared for batch mode, you can use esxtop or resxtop in this mode.
- Start resxtop (or esxtop) to redirect the output to a file.
esxtop -b > my_file.csv
The filename must have a .csv extension. The utility does not enforce this, but the post-processing tools require it.
- Process statistics collected in batch mode using tools such as Microsoft Excel and Perfmon.
In batch mode, resxtop (or esxtop) does not accept interactive commands. In batch mode, the utility runs until it produces the number of iterations requested (see command-line option n, below, for more details), or until you end the process by pressing Ctrl+c.