systool – Query information about Fibre Channel HBA card on a Linux server

To query information about Fibre Channel HBA cards, use systool

root@linux:~ # which systool
/usr/bin/systool

Install the package sysfsutils using yum install systool if you have a Red Hat based distribution

root@linux:~ # rpm -qf /usr/bin/systool
sysfsutils-2.1.0-7.el6.x86_64

root@linux:~ # rpm -qi sysfsutils
Name : sysfsutils Relocations: (not relocatable)
Version : 2.1.0 Vendor: Red Hat, Inc.
Release : 7.el6 Build Date: Thu 20 Sep 2012 10:11:43 AM BRT
Install Date: Fri 23 May 2014 12:17:31 PM BRT Build Host: x86-012.build.bos.redhat.com
Group : Development/Tools Source RPM: sysfsutils-2.1.0-7.el6.src.rpm
Size : 117100 License: GPLv2
Signature : RSA/8, Fri 09 Nov 2012 09:27:58 AM BRST, Key ID 199e2f91fd431d51
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla&gt;
URL : http://sourceforge.net/projects/linux-diag/
Summary : Utilities for interfacing with sysfs
Description :
This package’s purpose is to provide a set of utilities for interfacing
with sysfs.

root@linux:~ # cat /etc/*release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Red Hat Enterprise Linux Server release 6.5 (Santiago)

Advertisement