Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ql-hba-snapshot(8) [debian man page]

ql-hba-snapshot(8)					       System Administration						ql-hba-snapshot(8)

NAME
ql-hba-snapshot - display specific information of the QLogic HBA. SYNOPSIS
ql-hba-snapshot <Host number> [OPTIONS] DESCRIPTION
FC HBA Snapshot Utility This utility displays the details of the QLogic HBA attached to the system. It uses one of the two file systems for scanning: proc or sysfs. <Host number> | <-a/--all> [optional] Provide the <HOST NUMBER> to display the detailed information of the HBA. With no option specified, general information of all hosts will be displayed. Ex. # /usr/sbin/ql-hba-snapshot <Host Number> # /usr/sbin/ql-hba-snapshot --procfs <Host Number> (For procfs) -h, --help Prints the help message. Ex. # /usr/sbin/ql-hba-snapshot --help -hl, --hostlist This option displays the list of QLogic hosts (HBAs) connected to this system. The <HOST NUMBER> can be obtained by using following command Ex. # /usr/sbin/ql-hba-snapshot --hostlist -p, --parameters This option 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 This option displays the statistical information for specified host. Stastics option is only supported in "sysfs" based scan. Ex. # /usr/sbin/ql-hba-snapshot --statistics <Host number/--all> -proc, --procfs This options forces the the utility to scans information based on "procfs", instead of default sysfs. Ex. # /usr/sbin/ql-hba-snap- shot --procfs [Other valid option] -v, --verbose This enables verbose display. The detailed information of LUNs will be displayed in addition to standard one. 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) Matthias Schmitz <;matthias@sigxcpu.org> July 2009 ql-hba-snapshot(8)

Check Out this Related Man Page

HBA_LoadLibrary(3HBAAPI)		      Common Fibre Channel HBA Information Library Functions			  HBA_LoadLibrary(3HBAAPI)

NAME
HBA_LoadLibrary, HBA_FreeLibrary - load and free the resources used by the HBA Common Library SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_LoadLibrary(void); HBA_STATUS HBA_FreeLibrary(void); DESCRIPTION
The HBA_LoadLibrary() function loads the Common Library, which in turn loads each VSL specified in the hba.conf(4) file. The HBA_FreeLibrary() function releases resources held by the Common Library and each loaded VSL. RETURN VALUES
Upon successful completion, HBA_LoadLibrary() and HBA_FreeLibrary() return HBA_STATUS_OK. Otherwise, an error value is returned. ERRORS
See libhbaapi(3LIB) for general error status values. EXAMPLES
Example 1 Load the common library and each VSL. The following example loads the common library and each VSL. if ((status = HBA_LoadLibrary()) != HBA_STATUS_OK) { fprintf(stderr, "HBA_LoadLibrary failed: %d ", status); return; } ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-------------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-------------------------------------+ |Interface Stability |Standard: FC-MI 1.92 (API version 1) | +-----------------------------+-------------------------------------+ | |Standard: FC-HBA Version 4 (API ver- | | |sion 2) | +-----------------------------+-------------------------------------+ |MT-Level |Safe | +-----------------------------+-------------------------------------+ SEE ALSO
libhbaapi(3LIB), hba.conf(4), attributes(5) T11 FC-MI Specification SunOS 5.11 1 Sep 2003 HBA_LoadLibrary(3HBAAPI)
Man Page