Skip to content

dx_get_disk_throughput

Marcin Przepiorowski edited this page Nov 8, 2016 · 5 revisions

SYNOPSIS

dx_get_disk_throughput.pl -d <delphix identifier> 
            [-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

  • -d Delphix Identifier (hostname defined in dxtools.conf)

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

Delphix

Clone this wiki locally