SG_TURS

Section: SG3_UTILS (8)
Updated: April 2003
 

NAME

sg_turs - executes a user specified number of TEST UNIT READY commands on the given device  

SYNOPSIS

sg_turs [-n=<number of commands to send>] [-t] <generic device>  

DESCRIPTION

sg_turs sends a number of TEST UNIT READY commands to a given SCSI generic device. Useful for timing the per command overhead. Note that TEST UNIT READY has no associated data, just a 6 byte command and a returned SCSI status value.

-n=<num>
performs TEST UNIT READY "<num>" times. If not given defaults to 1. Postfix multipliers "k" (1024), "K" (1000), "m" (1048576) or "M" (1000000) may be applied to "<num>".
-t
after completing the requested number of TEST UNIT READY commands, outputs the total duration and the average number of commands executed per second.
 

AUTHORS

Written by D. Gilbert  

COPYRIGHT

Copyright © 2000-2003 Douglas Gilbert
This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHORS
COPYRIGHT
blog comments powered by Disqus