性能情報を取得してみます。値を抜き出しています。ログイン情報のファイルを用意します。gist.github.com今回のスクリプトです。gist.github.com下記のように実行します。prism-config.json実際に実行した様子です。./prism-config.json2018-10-30T23:38:53.369319,NTNX-68fda404-A,num_read_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_read_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_hit_ppm,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_avg_read_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_logical_memory_usage_bytes,6421592082018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_random_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_total_transformed_usage_bytes,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,write_io_ppm,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_read_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,total_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,total_read_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,num_write_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_total_read_io_time_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_num_lookups,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_read_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,random_io_ppm,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_read_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,timespan_usecs,200000002018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_write_io_ppm,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_seq_io_ppm,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_num_dedup_ref_count_pph,1002018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_avg_read_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_total_read_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_read_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_transmitted_bytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,avg_read_io_latency_usecs,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,read_io_ppm,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_received_bytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_total_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_avg_write_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,num_random_io,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_logical_ssd_usage_bytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_read_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_physical_ssd_usage_bytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_total_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,num_read_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_seq_io,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_read_io_ppm,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_write_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_timespan_usecs,304360422018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_physical_memory_usage_bytes,6421592082018-10-30T23:38:53.369319,NTNX-68fda404-A,num_seq_io,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,num_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,seq_io_ppm,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,total_transformed_usage_bytes,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_write_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_avg_read_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,num_write_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_write_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_total_read_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_total_io_time_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,num_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_avg_write_io_size_kbytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,read_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_avg_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_avg_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,write_io_bandwidth_kBps,02018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_saved_memory_usage_bytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_memory_usage_ppm,7674632018-10-30T23:38:53.369319,NTNX-68fda404-A,total_read_io_time_usecs,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,total_untransformed_usage_bytes,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,avg_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_total_read_io_time_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_num_write_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,avg_write_io_latency_usecs,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,content_cache_saved_ssd_usage_bytes,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_write_io,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_timespan_usecs,200000002018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_random_io_ppm,-12018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_write_iops,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_total_io_time_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_cpu_usage_ppm,5437242018-10-30T23:38:53.369319,NTNX-68fda404-A,total_io_time_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,controller_avg_write_io_latency_usecs,02018-10-30T23:38:53.369319,NTNX-68fda404-A,hypervisor_num_iops,030秒ごとに値が更新されているようなので、下記のように定期実行しつつ、ファイル出力することもできます。ファイル名.csvちなみに今回の環境は下記です。