SMP_REP_SELF_CONF_STAT(8)
π smp_rep_self_conf_stat β the tea β
okay bestie, welcome to smp_rep_self_conf_stat, section 8 of the manual, living in the SMP_UTILS family. she's the one who hits up the REPORT SELF-CONFIGURATION STATUS SMP function and comes back with the receipts. no cap. π
β¨ SYNOPSIS β¨
smp_rep_self_conf_stat [--brief] [--help] [--hex] [--index=SDI]
[--interface=PARAMS] [--last] [--one] [--raw] [--sa=SAS_ADDR]
[--verbose] [--version] SMP_DEVICE[,N]
πΈ DESCRIPTION πΈ
so basically, she sends a SAS Serial Management Protocol (SMP) REPORT SELF-CONFIGURATION STATUS function request to an SMP target. that's the whole vibe. π
who's the target, you ask? the SMP target is identified by the SMP_DEVICE and the --sa=SAS_ADDR. depending on which interface you're riding with, the SAS_ADDR might just be deduced from the SMP_DEVICE β she's smart like that. π§
but heads up: the mpt interface uses SMP_DEVICE to identify a HBA (aka an SMP initiator), and she needs the extra ,N to tell the HBAs apart if there's more than one hanging around. iconic behaviour honestly.
π OPTIONS π
just so we're clear: mandatory arguments to long options are mandatory for short options as well. the rules apply to everyone, periodt.
-b,--briefβ lessens the amount of header information output, and squishes each self confuration status descriptor down to one line of output. compact queen. β¨-h,--helpβ outputs the usage message then dips. bye bestie π«Ά-H,--hexβ outputs the response (minus the CRC field) in hexadecimal.-i,--index=SDIβ SDI is the starting self-configuration status descriptor index, an integer in the range 0 to 65535. the default value is 1. but if SDI is 0 then no descriptors are placed in the response, plus the "starting self-configuration status descriptor index" and "total number of self-configuration status descriptors" fields in the response are both set to 0. which, ngl, makes setting SDI to 0 a lot less useful tha it could have been. π SDI may be decimal (that's the default) or hexadecimal prefixed by0x(or0X) or with ah(orH) suffix.-I,--interface=PARAMSβ interface specific parameters. and just so there's no confusion, "interface" here means the path through the operating system to the SMP initiator. peep thesmp_utilsman page for more info. π-l,--lastβ sends a REPORT SELF-CONFIGURATION STATUS request to find out the contents of the "last self-configuration status descriptor index" field in the response. if it's different from SDI then she re-issues that request with the "starting self-configuration status descriptor index" field set to the "last" value. often only the last (i.e. the most recent) recorded descriptor is the one you care about, and that's what this option should show. though lowkey there may be more than one descriptor starting at the last index. π-o,--oneβ if multiple self-configuration status descriptors are found, then only output the first one. pick one, bestie.-r,--rawβ sends the response (minus the CRC field) to stdout in binary. all error messages go to stderr though, they're not invited to the party.-s,--sa=SAS_ADDRβ specifies the SAS address of the SMP target device. the mpt interface needs this option, and it will typically be an expander's SAS address. the SAS_ADDR is in decimal, but most SAS addresses are shown in hexadecimal, so to give a number in hexadecimal either prefix it with0xor put a trailinghon it. π-v,--verboseβ increases the verbosity of the output. can be used multiple times (she'll keep talking, and honestly? let her).-V,--versionβ prints the version string and then exits.
π NOTES π
the "last self-configuration status descriptor index" field in the response may indicate the lowest index of the last recorded (i.e. most recent) "clump" of status descriptors placed in the expander's storage. clump. cute word. moving on.
this utility flags the "last self-configuration status descriptor index" descriptor in its output with a ">>>" indication. specifically:
- for brief output, the descriptor line starts with
">>>" - for normal output (i.e. when
--briefis not given), the index has">>>"placed in front of it
that's your little arrow bestie, follow it. β‘οΈ
π CONFORMING TO π
the SMP REPORT SELF-CONFIGURATION STATUS function was introduced in SAS-2. vintage. β
π«Ά AUTHORS π«Ά
written by Douglas Gilbert. king behaviour. π
π REPORTING BUGS π
report bugs to <dgilbert at interlog dot com>. she wants to know. fr fr.
π COPYRIGHT π
Copyright Β© 2011 Douglas Gilbert
this software is distributed under a FreeBSD license. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so like, no promises bestie. π
π₯ SEE ALSO π₯
smp_utilssmp_rep_generalsmp_discoversmp_discover_list(smp_utils)
okay that's the whole page, you ate that π go forth and report your self-configuration status, main character.
smp_utils-0.96 Β· May 2011 Β· SMP_REP_SELF_CONF_STAT(8) β mwah, that's a wrap πβ¨
π¦ where this page comes from
- debian bookworm: smp-utils 0.99-1 Β· BSD-3-Clause
- debian trixie: smp-utils 0.99-1 Β· BSD-3-Clause
- epel 10: smp_utils 0.99-1.el10_0 Β· BSD-3-Clause
- epel 9: smp_utils 0.99-5.el9 Β· BSD
- fedora 43: smp_utils 0.99-14.fc43 Β· BSD-3-Clause
- fedora 44: smp_utils 0.99-15.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- ubuntu jammy: smp-utils 0.99-1 Β· BSD-3-Clause
- ubuntu noble: smp-utils 0.99-1 Β· BSD-3-Clause
- ubuntu resolute: smp-utils 0.99-1build1 Β· BSD-3-Clause
- ubuntu stonking: smp-utils 0.99-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms