Wednesday, July 20, 2011

vscsiStats in action

How to enable vscsiStats for data gathering:

List all running virtual machines and their world numbers.

vscsistats -l

Start gathering statistics for a particular world.

vscsistats -s -t -w 20560

Print output to the console.

vscsistats -p all -w 20560

Redirect output to a file.

vscsiStats -p all -c -w 20560 > /tmp/vmstasts.csv

Stop gathering statistics.

vscsiStats -x -w 20560