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] [--readonly] [--verbose]
10       [--version] 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 and SPC-4 found at
17       www.t10.org . The most recent draft of SPC-4 is revision  37  in  which
18       target port groups are described in section 5.15 .
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. This sets the
30              PARAMETER DATA FORMAT field in the cdb to 1.
31
32       -h, --help
33              output the usage message then exit.
34
35       -H, --hex
36              output response in hex (rather than partially  or  fully  decode
37              it).
38
39       -r, --raw
40              output response in binary to stdout.
41
42       -R, --readonly
43              open the DEVICE read-only (e.g. in Unix with the O_RDONLY flag).
44              The default is to open it read-write.
45
46       -v, --verbose
47              increase the level of verbosity, (i.e. debug output).
48
49       -V, --version
50              print the version string and then exit.
51

NOTES

53       The Report Target Port Groups command should be supported whenever  the
54       TPGS  bits  in a standard INQUIRY response are greater than zero. [View
55       with sg_inq utility.]
56

EXIT STATUS

58       The exit status of sg_rtpg is 0 when it is  successful.  Otherwise  see
59       the sg3_utils(8) man page.
60

AUTHORS

62       Written by Douglas Gilbert.
63

REPORTING BUGS

65       Report bugs to <dgilbert at interlog dot com>.
66
68       Copyright © 2004-2014 Christophe Varoqui and Douglas Gilbert
69       This  software is distributed under a FreeBSD license. There is NO war‐
70       ranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR  PUR‐
71       POSE.
72

SEE ALSO

74       sg_inq(sg3_utils)
75
76
77
78sg3_utils-1.39                     May 2014                         SG_RTPG(8)
Impressum