How to use esxtop or resxtop in batch mode

I noticed that even there is a quite a lot of documentation about esxtop or resxtop many users still have a problems with running esxtop in...