Skip to content

dx_get_disk_throughput

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

SYNOPSIS

dx_get_disk_throughput [ -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 MB/s (Integer, Default 100)
  • -c Critical level in MB/s (Integer, Default 300)
  • -raw Show Raw Data, instead of average
  • -help Print this screen
  • -debug Turn on debugging

EXAMPLES

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

dx_get_disk_throughput -d DE1
WARNING:DE1 disk throughput MB/s 107.88

Average disk throughput for a last 5 minutes using 1-second sample with warning set to 200 MB/s

dx_get_disk_throughput -d DE1 -w 200
OK:DE1 disk throughput MB/s 105.07
You can’t perform that action at this time.