Q-Logic IB6054601-00 D 用户手册

下载
页码 122
C – Troubleshooting
Useful Programs and Files for Debugging
C-38
IB6054601-00 D
Q
C.9.17
strings
The command 
strings
 can also be used. Its format is as follows:
strings /usr/lib/libinfinipath.so.4.0 | grep Date:
will produce output like this:
$Date: 2006-09-15 04:07 Release2.0 InfiniPath $
NOTE:
strings
 is part of binutils (a development RPM), and may not be 
available on all machines.
C.9.18
version
You can check the version of the installed InfiniPath software by looking in:
/sys/bus/pci/drivers/ib_ipath/version
Example contents for QLogic-built drivers:
$Id: QLogic Release2.0 $ $Date: 2006-09-15-04:16 $
For non-Qlogic-built drivers (in this case kernel.org), it will look like this:
$Id: kernel.org InfiniPath Release2.0 $ $Date: 2006-09-15-04:18 $