ql-hba-snapshot(8)

🌸 ql-hba-snapshot β€” the manual page, bestie edition 🌸

okay so you know that ql-hba-snapshot command in section 8 (that's System Administration, iykyk)? yeah. we're gonna get into it. this is your girl explaining it, and I promise it's not scary πŸ’–


✨ NAME ✨

ql-hba-snapshot β€” display specific information of the QLogic HBA. that's it, that's the job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

ql-hba-snapshot <Host number> [OPTIONS]

πŸ‘‘ DESCRIPTION πŸ‘‘

FC HBA Snapshot Utility ✨

So what does this little icon do? It displays the details of the QLogic HBA that's attached to your system. And the way it goes about that? It uses one of two file systems for scanning: proc or sysfs. pick your fighter πŸŽ€

πŸ’œ the host number situation πŸ’œ

<Host number> | <-a/--all> [optional]

Okay so here's the deal, bestie:

  • Give it the <HOST NUMBER> and it'll display the detailed information of the HBA.
  • With no option specified, general information of all hosts will be displayed. no cap.

Like, for example:

# /usr/sbin/ql-hba-snapshot <Host Number>
# /usr/sbin/ql-hba-snapshot --procfs <Host Number>   (For procfs)

see? easy. slay. πŸ’…


🌈 OPTIONS 🌈

  • -h, --help β€” prints the help message. that's it. it helps. Ex. # /usr/sbin/ql-hba-snapshot --help
  • -hl, --hostlist β€” this one displays the list of QLogic hosts (HBAs) connected to this system. and here's the tea: this is literally how you get the <HOST NUMBER> in the first place. Ex. # /usr/sbin/ql-hba-snapshot --hostlist
  • -p, --parameters β€” displays the command line parameters that can be passed to the QLogic HBA driver. Ex. # /usr/sbin/ql-hba-snapshot --parameters <Host Number>
  • -s, --statistics β€” displays the statistical information for the specified host. ⚠️ but listen β€” the statistics option is only supported in "sysfs" based scan. don't come for me, that's just the rules. Ex. # /usr/sbin/ql-hba-snapshot --statistics <Host number/--all>
  • -proc, --procfs β€” this option forces the utility to scan information based on "procfs", instead of the default sysfs. (yes the original says "the the", and yes I'm being faithful to it, but you get the vibe 😭) Ex. # /usr/sbin/ql-hba-snapshot --procfs [Other valid option]
  • -v, --verbose β€” enables verbose display πŸ’– the detailed information of LUNs will be displayed in addition to the standard one. ⚠️ heads up: this option is only supported in sysfs. Ex. # /usr/sbin/ql-hba-snapshot --verbose <Host number/-a>

🫢 SEE ALSO 🫢

ql-dynamic-tgt-lun-disc(8), ql-lun-state-online(8), ql-set-cmd-timeout(8)

go read those too, they're part of the fam πŸ¦‹


okay and for the cute sign-off: this page was written by Matthias Schmitz <matthias@sigx...>, dated July 2009 πŸ’– and the page itself is ql-hba-snapshot(8). iconic. periodt. πŸŽ€βœ¨