Here are things I already know, using vscsistat -t option I can get command traces for "VM/.vmdk" on ESxi. Steps to get scsi traces are: - Start capturing traces, On Successful starting will generated log_channel (id)
vscsiStats -s -t -w worldgroupid -i handleid
- Dump traces to file in binary format
logchannelloger channelname filename
- Get human readable fromat from trace file.
vscsistats -e filename
With this steps, each time I fire command vscsistats -e filename to get scsitrace in human readable format from tracefile, It returns trace data from beginning to till time command is fired. If I fire command after 10 minutes then again it return traces from begining to time of firing command. So question is there any way to dump traces as they come to binary file directly to stdout like tail -f or blktrace -o - |blkparse -i - like on linux? |