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

NAME

6       sg_rtpg - sends a 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       -h, --help
29              output the usage message then exit.
30
31       -H, --hex
32              output  response  in  hex (rather than partially or fully decode
33              it).
34
35       -r, --raw
36              output response in binary to stdout.
37
38       -v, --verbose
39              increase the level of verbosity, (i.e. debug output).
40
41       -V, --version
42              print the version string and then exit.
43

NOTES

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

EXIT STATUS

50       The exit status of sg_rtpg is 0 when it is  successful.  Otherwise  see
51       the sg3_utils(8) man page.
52

AUTHORS

54       Written by Douglas Gilbert.
55

REPORTING BUGS

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

SEE ALSO

66       sg_inq(sg3_utils)
67
68
69
70sg3_utils-1.23                   January 2007                       SG_RTPG(8)
Impressum