-
Notifications
You must be signed in to change notification settings - Fork 34
dx_get_analytics
dx_get_analytics [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
-type <cpu|disk|nfs|iscsi|network|nfs-by-client|nfs-all|all|standard|comma separated names>
-outdir <output dir>
[-i interval ]
[-st <start_time> ]
[-et <end_time> ]
[-stoponinvalid ]
-format csv|json
-debug
Get analytics collector inside Delphix Engine
-
-engine|d Specify Delphix Engine name from dxtools.conf file
-
-all Run script for all Delphix Engines from config file
-
-configfile file Location of the configuration file. A config file search order is as follow:
-
configfile parameter
-
DXTOOLKIT_CONF variable
-
dxtools.conf from dxtoolkit location
-
-st Start time (format: "DD-MON-YYYY [HH24:MI:SS] or "YYYY-MM-DD [HH24:MI:SS]" ). Default start time is today minus 7 days
-
-et End time (format: "DD-MON-YYYY [HH24:MI:SS]" or "YYYY-MM-DD [HH24:MI:SS]" )
-
-t Type: cpu|disk|nfs|iscsi|network|nfs-by-client|nfs-all|all|standard|comma separated names
ex. -t all - for all analytics
-t standard - for cpu,disk,network and nfs analytics
-t cpu,disk - for cpu and disk
-
-i Time Inteval, allowed values are 1 or S for 1 sec, 60 or M for 1 min , 3600 or H for 1 hour
-
-outdir Output directory
- -stoponinvalid Stop on the invalid analytic and exit processing. Invalid analytics are skipped by default. Return code will be not 0 if there were any skipped analytics.
- -format Display output in csv or json format If not specified csv formatting is used.
- -help Print this screen
- -debug Turn on debugging
Export 1 hour data for all collectors for last 7 days into /tmp directory
dx_get_analytics -d Landshark -i 3600 -t standard -outdir /tmp
Connected to Delphix Engine Landshark (IP delphix42)
Generating cpu raw report file /tmp/Landshark-analytics-cpu-raw.csv
Generating cpu aggregated report file /tmp/Landshark-analytics-cpu-aggregated.csv
Generating disk raw report file /tmp/Landshark-analytics-disk-raw.csv
Generating disk aggregated report file /tmp/Landshark-analytics-disk-aggregated.csv
Generating iscsi raw report file /tmp/Landshark-analytics-iscsi-raw.csv
Generating iscsi aggregated report file /tmp/Landshark-analytics-iscsi-aggregated.csv
Generating network raw report file /tmp/Landshark-analytics-network-raw.csv
Generating network aggregated report file /tmp/Landshark-analytics-network-aggregated.csv
Generating nfs raw report file /tmp/Landshark-analytics-nfs-raw.csv
Generating nfs aggregated report file /tmp/Landshark-analytics-nfs-aggregated.csv
Delphix