1SG_RTPG(8)                         SG3_UTILS                        SG_RTPG(8)
2
3
4

NAME

6       sg_rtpg - send SCSI REPORT TARGET PORT GROUPS command
7

SYNOPSIS

9       sg_rtpg  [--decode]  [--help]  [--hex]  [--raw] [--verbose] [--version]
10       DEVICE
11

DESCRIPTION

13       Send a SCSI REPORT TARGET PORT GROUPS command to DEVICE and outputs the
14       response.
15
16       Target  port group access is described in SPC-3 found at www.t10.org in
17       section 5.8 (in rev 21c dated 2005/1/15). The Report Target Port Groups
18       command is also described in that document.
19

OPTIONS

21       Arguments to long options are mandatory for short options as well.
22
23       -d, --decode
24              decodes  the  status  code and asymmetric access state from each
25              target port group descriptor returned. The default action is not
26              to decode these values.
27
28       -e, --extended
29              use extended header format for parameter data.
30
31       -h, --help
32              output the usage message then exit.
33
34       -H, --hex
35              output  response  in  hex (rather than partially or fully decode
36              it).
37
38       -r, --raw
39              output response in binary to stdout.
40
41       -v, --verbose
42              increase the level of verbosity, (i.e. debug output).
43
44       -V, --version
45              print the version string and then exit.
46

NOTES

48       The Report Target Port Groups command should be supported whenever  the
49       TPGS  bits  in a standard INQUIRY response are greater than zero. [View
50       with sg_inq utility.]
51

EXIT STATUS

53       The exit status of sg_rtpg is 0 when it is  successful.  Otherwise  see
54       the sg3_utils(8) man page.
55

AUTHORS

57       Written by Douglas Gilbert.
58

REPORTING BUGS

60       Report bugs to <dgilbert at interlog dot com>.
61
63       Copyright © 2004-2012 Christophe Varoqui and Douglas Gilbert
64       This  software is distributed under a FreeBSD license. There is NO war‐
65       ranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PUR‐
66       POSE.
67

SEE ALSO

69       sg_inq(sg3_utils)
70
71
72
73sg3_utils-1.35                   November 2012                      SG_RTPG(8)
Impressum