iostat -x 2 sda
The '-x' option will repeatedly print the statistics at the given
interval (seconds). You can (optionally) also give the name(s) of
devices for each drive.
So, assuming that your ZK transaction log (specified in
$ZOOKEEPER_HOME/conf/zoo.cfg under the 'dataDir' key) is mounted on
/dev/sda, the above command would list statistics every 2 seconds until
you ctrl-C the process.
On 5/20/14, 10:21 AM, thomasa wrote:
What is the best way to check the iowait times for the ZK transaction log?