RHEL: Displaying system info (firmware, serial numbers... )

# Tested on RHEL 5, 6 & 7

# Network interface cards driver, driver version, firmware version, and bus information


ethtool -i eth0
   driver: bnx2
   version: 2.0.8-rh
   firmware-version: bc 5.2.3 NCSI 2.0.6
   bus-info: 0000:03:00.0


cat /var/log/dmesg | grep eth
   eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f4000000, IRQ 169, node addr a0b3cce6a754
   eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f2000000, IRQ 201, node addr a0b3cce6a756
   eth2: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f8000000, IRQ 217, node addr a0b3cce6a758
   eth3: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f6000000, IRQ 225, node addr a0b3cce6a75a

# NIC model - 'lspci'

lspci | grep net
   03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
   03:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
   04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
   04:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)




#
SCSI adapters verbose information

systool -c scsi_host -v
   Class = "scsi_host"

      Class Device = "host0"
      Class Device path = "/sys/class/scsi_host/host0"
        cmd_per_lun         = "1"
        host_busy           = "0"
        proc_name           = "cciss"
        scan                = <store method only>
        sg_tablesize        = "543"
        state               = "running"
        uevent              = <store method only>
        unchecked_isa_dma   = "0"
        unique_id           = "154"

        Device = "host0"
        Device path = "/sys/devices/pci0000:00/0000:00:01.0/0000:05:00.0/host0"
          uevent              = <store method only>


     Class Device = "host1"
     Class Device path = "/sys/class/scsi_host/host1"
        cmd_per_lun         = "1"
        host_busy           = "0"
        proc_name           = "ata_piix"
        scan                = <store method only>
        sg_tablesize        = "128"
        state               = "running"
        uevent              = <store method only>
        unchecked_isa_dma   = "0"
        unique_id           = "1"

        Device = "host1"
        Device path = "/sys/devices/pci0000:00/0000:00:1f.2/host1"
          uevent              = <store method only>

[.....]

#
SCSI devices information

cat /proc/scsi/scsi
   Attached devices:
   Host: scsi1 Channel: 00 Id: 00 Lun: 00
     Vendor: TEAC     Model: DV-28S-W         Rev: C.2D
     Type:   CD-ROM                           ANSI SCSI revision: 05




#
Fibre Channel HBA HW information

systool -c fc_host -v
Class = "fc_host"

  Class Device = "host3"
  Class Device path = "/sys/class/fc_host/host3"
    active_fc4s         = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 ..."
    fabric_name         = "0x0"
    issue_lip           = <store method only>
    maxframe_size       = "2048 bytes"
    node_name           = "0x20000090fa326a42"   <-- Node WWN
    port_id             = "0x000000"
    port_name           = "0x10000090fa326a42"
   <-- Port WWN
    port_state          = "Linkdown"
    port_type           = "Unknown"
    speed               = "unknown"
    supported_classes   = "Class 3"
    supported_fc4s      = "0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x01 0x00 ..."
    supported_speeds    = "2 Gbit, 4 Gbit, 8 Gbit"
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
    uevent              = <store method only>

    Device = "host3"
    Device path = "/sys/devices/pci0000:20/0000:20:02.0/0000:27:00.0/host3"
      uevent              = <store method only>


# Fibre Channel HBA driver information (In this case for Emulex HBA)

modinfo lpfc | egrep -i "emul|sion"
   version:        0:8.2.0.128.3p
   author:         Emulex Corporation - tech.support@emulex.com
   description:    Emulex LightPulse Fibre Channel SCSI driver 8.2.0.128.3p
   srcversion:     2A68E3242E7EBF06DDA7741


#
HBA Firmware revision:

cat /sys/class/scsi_host/host3/fwrev
   1.11A5 (U3D1.11A5), sli-3



#
BIOS version and Serial Number (and other informations)

/usr/sbin/dmidecode | more
   SMBIOS 2.7 present.
   # SMBIOS implementations newer than version 2.6 are not
   # fully supported by this version of dmidecode.
   134 structures occupying 4012 bytes.
   Table at 0xDF7FE000.

   Handle 0x0000, DMI type 0, 24 bytes
   BIOS Information
        Vendor: HP
        Version: P67
        Release Date: 05/05/2011
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 8192 kB
        Characteristics:
                PCI is supported
                PNP is supported
[.....]
   System Information
        Manufacturer: HP
        Product Name: ProLiant DL380 G7
        Version: Not Specified
        Serial Number: CZ21xxxx2
        UUID: 343xxx36-3xx0-5xx3-3231-343530444332
        Wake-up Type: Power Switch
        SKU Number: 63xxx5-421
        Family: ProLiant

[.....]



# D
isks and tape drives serial numbers

sginfo -s /dev/sda
   Serial Number '00c0ff10c5070000579cc94c01000000 '

sginfo -s /dev/cciss/c0d0
   Serial Number '50014380175480A0'



#
SMART array controllers information

cat /proc/driver/cciss/cciss0
   cciss0: HP Smart Array P410i Controller
   Board ID: 0x3245103c
   Firmware Version: 5.12
   IRQ: 138
   Logical drives: 1
   Current Q depth: 0
   Current # commands on controller: 0
   Max Q depth since init: 157
   Max # commands on controller since init: 160
   Max SG entries since init: 128
   Sequential access devices: 0

   cciss/c0d0:      146.77GB       RAID 1(1+0)




#
CPU information

cat /proc/cpuinfo
   processor       : 0
   vendor_id       : GenuineIntel
   cpu family      : 6
   model           : 44
   model name      : Intel(R) Xeon(R) CPU           E5649  @ 2.53GHz
   stepping        : 2
   cpu MHz         : 2532.691
   cache size      : 12288 KB
   physical id     : 0
   siblings        : 12
   core id         : 0
   cpu cores       : 6
   apicid          : 0
   fpu             : yes
   fpu_exception   : yes
   cpuid level     : 11
   wp              : yes
   flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge [...]
   bogomips        : 5065.38
   clflush size    : 64
   cache_alignment : 64
   address sizes   : 40 bits physical, 48 bits virtual
   power management: [8]
[.....]

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
RHEL: Services basic management - chkconfig
Viewed 2882 times since Sat, Jun 2, 2018
CentOS / RHEL 7 : Configuring an NFS server and NFS client Linux NFS
Viewed 453 times since Fri, Feb 21, 2020
20 Linux YUM (Yellowdog Updater, Modified) Commands for Package Management YUM
Viewed 2223 times since Thu, Oct 25, 2018
Df command in Linux not updating actual diskspace, wrong data
Viewed 781 times since Wed, May 30, 2018
LVM: Recovering Physical Volume Metadata
Viewed 659 times since Sat, Jun 2, 2018
Prosty skaner portów TCP w bash
Viewed 808 times since Thu, May 24, 2018
How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers
Viewed 760 times since Thu, Jul 19, 2018
Monitoring bezpieczeństwa Linux: integracja auditd + OSSEC cz. I
Viewed 683 times since Fri, Apr 5, 2019
Exclude multiple files and directories with rsync
Viewed 483 times since Wed, Oct 31, 2018
Linux - How to shutdown or reboot
Viewed 433 times since Fri, Jun 8, 2018