My question is about the command esxtop in batch mode, I run this command:
esxtop -b -a -d 2 -n 1440 | gzip -9c > esxtopoutput.csv.gz
or this one:
esxtop -b -a -d 2 -n 100 > esxtopoutput.csv
I can see the csv file growing but at the end, the file is empty (0ko) or I get this message from gzip: short write, the csv.gz file is empty or the file is impossible to extract (corrupted because too big?)
Is anyone has ever seen that problem?
Yes, I checked the free space and it is okay.
Something weird when I look to the file size during the data collect is that sometime, the size falls to 0 Ko and after, it continues to grow up.
I looked to the security and it's okay because I ran esxtop with the root account.
Currently having this same problem. Your post was the only one I could find describing this issue. Never had this problem before, it was working, then stopped. However none of my CSV files could be viewed in VisualEsxtop. I even tried removing the .esxtoprc files I was working with. Disk space not an issue as well. Would be interested if a solution was found, as I'm clueless at the moment.