1
.TH SG_TURS "8" "April 2003" "sg3_utils-1.03" SG3_UTILS
1
.TH SG_TURS "8" "June 2006" "sg3_utils-1.21" SG3_UTILS
3
3
sg_turs \- executes a user specified number of TEST UNIT READY commands on
7
[\fI-n=<number of commands to send>\fR] [\fI-t]
7
[\fI-n=<number of commands to send>\fR] [\fI-p\fR] [\fI-t\fR] [\fI-v\fR]
8
[\fI-V\fR] <\fIscsi_device\fR>
10
10
.\" Add any additional description here
12
12
sg_turs sends a number of TEST UNIT READY commands to a given SCSI
13
generic device. Useful for timing the per command overhead. Note that
13
device. Useful for timing the per command overhead. Note that
14
14
TEST UNIT READY has no associated data, just a 6 byte command and a
15
15
returned SCSI status value.
18
18
performs TEST UNIT READY "<num>" times. If not given defaults to 1.
19
Postfix multipliers "k" (1024), "K" (1000), "m" (1048576) or "M" (1000000)
20
may be applied to "<num>".
19
These suffix multipliers are permitted: c C *1; w W *2; b B *512;
20
k K KiB *1,024; KB *1,000; m M MiB *1,048,576; MB *1,000,000;
21
g G GiB *1,073,741,824; and GB *1,000,000,000 . Also a suffix of the
22
form "x<n>" multiplies the leading number by <n>. Alternatively a hex
23
number may be given, prefixed by either '0x' or '0X' (or has a
27
show progress indication (a percentage) if available. If <num> greater
28
than one waits 30 seconds before subsequent checks. Exits when <num>
29
is reached or there is no more progress indication. Ignores '-t' option.
23
32
after completing the requested number of TEST UNIT READY commands, outputs
24
33
the total duration and the average number of commands executed per second.
36
increase level of verbosity: print out SCSI commands in hex prior to
37
sending them to the device. '-vv' and '-vvv' are also accepted yielding
41
print out version string then exit.
43
The exit status of sg_verify is 0 when it is successful. Otherwise see
44
the sg3_utils(8) man page.
26
46
Written by D. Gilbert
28
Copyright \(co 2000-2003 Douglas Gilbert
48
Copyright \(co 2000-2005 Douglas Gilbert
30
50
This software is distributed under the GPL version 2. There is NO
31
51
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.