Skip to content

dx_get_capacity_history

Marcin Przepiorowski edited this page May 4, 2017 · 5 revisions

SYNOPSIS

dx_get_capacity_history [-engine|d <delphix identifier> | -all ] 
                        [-details ] 
                        [-st "YYYY-MM-DD [HH24:MI:SS]" ] 
                        [-et "YYYY-MM-DD [HH24:MI:SS]" ] 
                        [-resolution d|h ]
                        [-format csv|json ] 
                        [-help|? ] 
                        [-debug ]

DESCRIPTION

Get the information about databases space usage.

ARGUMENTS

Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.

  • -engine|d Specify Delphix Engine name from dxtools.conf file
  • -all Display databases on all Delphix appliance

OPTIONS

  • -st StartTime (format: YYYY-MM-DD [HH24:MI:SS]). Default is "now-7 days".
  • -et EndTime (format: YYYY-MM-DD [HH24:MI:SS]). Default is "now"
  • -details Display breakdown of usage.
  • -format
    Display output in csv or json format If not specified pretty formatting is used.
  • -resoluton d|h Display data in daily or hourly aggregation. Default is daily
  • -help
    Print this screen
  • -debug Turn on debugging
  • -nohead Turn off header output

EXAMPLES

Display a history of Delphix Engine utilization

dx_get_capacity_history -d Landshark51

Engine                         Timestamp                      dSource [GB] Virtual [GB] Total [GB]   Usage [%]
------------------------------ ------------------------------ ------------ ------------ ------------ ------------
Landshark51                    2017-03-03 05:59:33 GMT                1.22         0.00         1.22         4.22
Landshark51                    2017-03-03 07:29:34 GMT                1.22         0.00         1.22         4.22
Landshark51                    2017-03-06 13:56:58 GMT                1.22         0.00         1.22         4.22
Landshark51                    2017-03-07 13:53:25 GMT                1.22         0.03         1.25         4.34
Landshark51                    2017-03-09 09:52:50 GMT                1.22         0.03         1.25         4.34
Landshark51                    2017-03-09 13:22:50 GMT                1.23         0.05         1.28         4.46

Display a history of Delphix Engine utilization with details

dx_get_capacity_history -d Landshark51 -details 

Engine                         Timestamp                      dS total [GB]   dS current [GB] dS log [GB]     dS snaps [GB]   VDB total [GB]  VDB current [GB VDB log [GB]    VDB snaps [GB]  Total [GB]      Usage [%]
------------------------------ ------------------------------ --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ------------
Landshark51                    2017-03-03 05:59:33 GMT                   1.22            1.21            0.00            0.00            0.00            0.00            0.00            0.00            1.22         4.22
Landshark51                    2017-03-03 07:29:34 GMT                   1.22            1.21            0.00            0.00            0.00            0.00            0.00            0.00            1.22         4.22
Landshark51                    2017-03-06 13:56:58 GMT                   1.22            1.21            0.00            0.00            0.00            0.00            0.00            0.00            1.22         4.22
Landshark51                    2017-03-07 13:53:25 GMT                   1.22            1.21            0.00            0.00            0.03            0.03            0.00            0.00            1.25         4.34
Landshark51                    2017-03-09 09:52:50 GMT                   1.22            1.21            0.00            0.00            0.03            0.03            0.00            0.00            1.25         4.34
Landshark51                    2017-03-09 13:22:50 GMT                   1.23            1.21            0.00            0.01            0.05            0.03            0.01            0.00            1.28         4.46

Delphix

Clone this wiki locally