Skip to content

dx_get_disk_latency

Marcin Przepiorowski edited this page Jan 10, 2019 · 5 revisions

SYNOPSIS

dx_get_disk_latency [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                    [-w <warning millisec>]
                    [-i time_interval]
                    [-c <critical millisec>]
                    [-opname operation]
                    [-read | -write]
                    [-raw ]
                    [-st "YYYY-MM-DD [HH24:MI:SS]" ]
                    [-et "YYYY-MM-DD [HH24:MI:SS]" ]
                    [ -debug ]
                    [ -help|-? ]

ARGUMENTS

  • -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

OPTIONS

  • -st StartTime (format: YYYY-MM-DD [HH24:MI:SS]). Default is "now-5 min".
  • -et EndTime (format: YYYY-MM-DD [HH24:MI:SS]). Default is "now"
  • -i Time Inteval, allowed values are 1 or S for 1 sec, 60 or M for 1 min , 3600 or H for 1 hour
  • **-opname r|w|b ** Operation name r for read, w for write, b for both (default value)
  • **-write ** Old syntax. Similar to -opname w
  • **-read ** Old syntax. Similar to -opname r
  • -w Warning level in milliseconds (Integer, Default 10)
  • -c Critical level in milliseconds (Integer, Default 50)
  • -raw Show Raw Data, instead of average
  • -help Print this screen
  • -debug Turn on debugging

EXAMPLES

Average disk read and write latency for a last 5 minutes using 1-second sample

dx_get_disk_latency -d DE1
OK:DE1 disk latency milliseconds  0.29

Average disk write latency for a last 5 minutes using 1-second sample

dx_get_disk_latency -d DE1 -opname w
OK: DE1 disk latency milliseconds  0.25
You can’t perform that action at this time.