I'm trying to get something very specific out of resxtop and having some difficulties in doing so.
echo "password" | ./resxtop --server esxiserver --username root -n 1 -c /root/.esxtop4memory
my esxtop4memory file looks like..
and essentially what I want to get out is current Swap usage for VM's only (View VM only). Interactive mode desired output is below.
View VM only
NAME SWCUR SWTGT SWR/s SWW/s
esxi05u37-vm 0.00 0.00 0.00 0.00
lintest31601 0.00 0.00 0.00 0.00
however, my CSV files continue to be full of all sorts of CPU stats that aren't warranted, and I think it's because I don't know how to set "View VM only" in batch mode.
Anyone have any thoughts?