Export to CSV (-w)

To export the metric data to a CSV file, append the command to include -w <filename>.csv.

For example, the following command would export daily data for the PROCESS metric to the bg1ddata.csv file.

swadm METRICS -d -o PROCESS{"NAME=BG,INSTANCE=1"} -w bg1ddata.csv