1. How to get NIC/network card vendor information (scripted example)
2. How to get the NIC/network card MAC address (simple example)for i in `ls -d /sys/class/net/eth*` do ETH="`basename $i`" echo -n "$ETH " NICID="`cat /sys/class/net/$ETH/device/vendor|cut -c3-`" grep "^$NICID" /usr/share/hwdata/pci.ids done
3. How to get the NIC/network kernel module and PCI device info (DETAILS). This can also derive the vendor and device info like above (simple example)cat /sys/class/net/eth0/address
OR generallyVENDOR="`cat /sys/class/net/eth0/device/modalias |cut -c6-13`" DEVICE="`cat /sys/class/net/eth0/device/modalias |cut -c15-22`" grep -i $VENDOR /lib/modules/`uname -r`/modules.alias | grep -i $DEVICE
External important links for PCI or kernel module information for Linux:grep `cat /sys/class/net/eth0/device/modalias |cut -c-22` /lib/modules/`uname -r`/modules.alias
http://www.pcidatabase.com/
4. How to find the WWN for a SAS end device (the arrary for example) card on RHEL 6, CentOS 6 or similar (simple example)
5. How to find the WWN for a SAS card on RHEL 6, CentOS 6 or similar (simple example)cat /sys/class/sas_device/*/sas_address
cat /sys/class/sas_phy/*/sas_address