1SMP_REP_GENERAL(8) SMP_UTILS SMP_REP_GENERAL(8)
2
3
4
6 smp_rep_general - invoke REPORT GENERAL SMP function
7
9 smp_rep_general [--change_report] [--help] [--hex] [--interface=PARAMS]
10 [--raw] [--sa=SAS_ADDR] [--verbose] [--version] SMP_DEVICE[,N]
11
13 Sends a SAS Management Protocol (SMP) REPORT GENERAL request function
14 to a SMP target. The SMP target is identified by the SMP_DEVICE and the
15 SAS_ADDR. Depending on the interface, the SAS_ADDR may be deduced from
16 the SMP_DEVICE. With one interface there is one SMP_DEVICE per machine
17 so the SMP_DEVICE,N syntax is needed to differentiate between HBAs if
18 there are multiple present.
19
21 Mandatory arguments to long options are mandatory for short options as
22 well.
23
24 -c, --change_report
25 reports (prints to stdout) the value of the expander change
26 count field from the response. The value is printed in decimal
27 and is obtained from a 16 bit field.
28
29 -h, --help
30 output the usage message then exit.
31
32 -H, --hex
33 output the response in hexadecimal.
34
35 -I, --interface=PARAMS
36 interface specific parameters. In this case "interface" refers
37 to the path through the operating system to the SMP initiator.
38 See the smp_utils man page for more information.
39
40 -r, --raw
41 send the response to stdout in binary. All error messages are
42 sent to stderr.
43
44 -s, --sa=SAS_ADDR
45 specifies the SAS address of the SMP target device. Typically
46 this is an expander. This option may not be needed if the
47 SMP_DEVICE has the target's SAS address within it. The SAS_ADDR
48 is in decimal but most SAS addresses are shown in hexadecimal.
49 To give a number in hexadecimal either prefix it with '0x' or
50 put a trailing 'h' on it.
51
52 -v, --verbose
53 increase the verbosity of the output. Can be used multiple times
54
55 -V, --version
56 print the version string and then exit.
57
59 The SMP REPORT GENERAL function was introduced in SAS-1, with small
60 additions in SAS-1.1 . There have been a large number of additions in
61 SAS-2 .
62
64 Written by Douglas Gilbert.
65
67 Report bugs to <dgilbert at interlog dot com>.
68
70 Copyright © 2006-2008 Douglas Gilbert
71 This software is distributed under a FreeBSD license. There is NO war‐
72 ranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
73 POSE.
74
76 smp_utils, smp_discover(smp_utils)
77
78
79
80smp_utils-0.93 January 2008 SMP_REP_GENERAL(8)