Hi All
I am studying for my VCAP DCA and I still cannot figure out what the -n command means and how to work out the value. I know it stands for "Number of iterations. resxtop (or esxtop) collects and saves statistics this number of times, and then exits." according to the documenation but I cannot work out how to derive the number. Any help would be greatly appreciated as I am really lost.
Example : I want to use esxtop to collect data for 2 minutes at 3-second intervals and output file
I would run esxtop -b -d 3 -n ? >> test.csv
-b is batch mode
-d sets the delay in seconds
but i do not know what to put in -n
Another example: I want to use esxtop to collect data for 12 hours at 5-minutes intervals output file
I would run esxtop -b -d 300 -n ? >> test1.csv
is there a formula for n (time x 60) or something like
Thank you for your comments in advance