dx_get_nfs_latency - delphix/dxtoolkit GitHub Wiki

SYNOPSIS

dx_get_nfs_latency   [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                     [ -w <warning millisec>]
                     [ -i time_interval]
                     [ -c <critical millisec>]
                     [ -opname operation]
                     [ -read | -write]
                     [ -raw ]
                     [ -st \"DD-MON-YYYY [HH24:MI:SS]\" ]
                     [ -et \"DD-MON-YYYY [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: DD-MON-YYYY [HH24:MI:SS] or YYYY-MM-DD [HH24:MI:SS]). Default is SYSDATE-7.
  • -et EndTime (format: DD-MON-YYYY [HH24:MI:SS] or YYYY-MM-DD [HH24:MI:SS])
  • -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

OPTIONS

  • -help Print this screen
  • -debug Turn on debugging

EXAMPLES

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

dx_get_nfs_latency -d DE1
OK:DE1 disk latency milliseconds 3

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

dx_get_nfs_latency -d DE1 -opname w
OK: DE1 disk latency milliseconds  2