HBA_GetPortStatistics, HBA_GetFC4Statistics, HBA_GetFCPStatistics, HBA_ResetStatistics - Access Port statistics for a specific HBA port.
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_GetPortStatistics(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_PORTSTATISTICS *portstatistics);
HBA_STATUS HBA_GetFC4Statistics(HBA_HANDLE handle, HBA_WWN portWWN, HBA_UINT8 FC4type, HBA_FC4STATISTICS * statistics);
HBA_STATUS HBA_GetFCPStatistics(HBA_HANDLE handle, const HBA_SCSIID * lunid, HBA_FC4STATISTICS * statistics);
void HBA_ResetStatistics(HBA_HANDLE handle, HBA_UINT32 portindex);
handle
portindex
portstatistics
portWWN
FC4type
statistics
lunid
The HBA_GetPortStatistics() function retrieves the statistical information from a given HBA port.
The HBA_GetFC4Statistics() function retrieves the traffic statistics for a specific FC-4 protocol.
The HBA_GetFCPStatistics() function retrieves the traffic statistics for a specific FC-4 protocol on the specified OS SCSI logical unit through that port.
The HBA_ResetStatistics() function sesets the statistical counters to zero for a given HBA port.
Upon successful completion, HBA_GetPortStatistics() returns HBA_STATUS_OK. Otherwise, an error value is returned from the underlying VSL and the values in portstatistics are undefined. If the VSL does not support a specific statistic, that statistic will have every bit set to 1.
Upon successful completion, HBA_GetFC4Statistics() and HBA_GetFCPStatistics() return HBA_STATUS_OK. Otherwise, an error value is returned from the underlying VSL and the values in statistics are undefined. If the VSL does not support a specific statistic, that statistic will have every bit set to 1.
See libhbaapi(3LIB) for general error status values.
See attributes(5) for descriptions of the following attributes:
|
HBA_GetAdapterAttributes(3HBAAPI), HBA_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |