存档

2011年12月 的存档

dmidecode ipmitool mcelog

2011年12月1日 评论已被关闭

Dmidecode:     
Type   Information
       —————————————-
          0   BIOS
          1   System
          2   Base Board
          3   Chassis
          4   Processor
          5   Memory Controller
          6   Memory Module
          7   Cache
          8   Port Connector
          9   System Slots
         10   On Board Devices
         11   OEM Strings
         12   System Configuration Options
         13   BIOS Language
         14   Group Associations
         15   System Event Log
         16   Physical Memory Array
         17   Memory Device
         18   32-bit Memory Error
         19   Memory Array Mapped Address
         20   Memory Device Mapped Address
         21   Built-in Pointing Device
         22   Portable Battery
         23   System Reset
         24   Hardware Security
         25   System Power Controls
         26   Voltage Probe
         27   Cooling Device
         28   Temperature Probe
         29   Electrical Current Probe
         30   Out-of-band Remote Access
         31   Boot Integrity Services
         32   System Boot
         33   64-bit Memory Error
         34   Management Device
         35   Management Device Component
         36   Management Device Threshold Data
         37   Memory Channel
         38   IPMI Device
         39   Power Supply
        
Instead of type_id, you can also pass the keyword to the -t option of the dmidecode command. Following are the available keywords.
       Keyword     Types
       ——————————
       bios        0, 13
       system      1, 12, 15, 23, 32
       baseboard   2, 10
       chassis     3
       processor   4
       memory      5, 6, 16, 17
       cache       7
       connector   8
       slot        9   

# dmidecode -t 16

#dmidecode -t 17
or
#dmidecode -t memory

[2hei.net]# ipmitool
No command provided!
Commands:
    raw           Send a RAW IPMI request and print response
    i2c           Send an I2C Master Write-Read command and print response
    spd           Print SPD info from remote I2C device
    lan           Configure LAN Channels
    chassis       Get chassis status and set power state
    power         Shortcut to chassis power commands
    event         Send pre-defined events to MC
    mc            Management Controller status and global enables
    sdr           Print Sensor Data Repository entries and readings
    sensor        Print detailed sensor information
    fru           Print built-in FRU and scan SDR for FRU locators
    gendev        Read/Write Device associated with Generic Device locators sdr
    sel           Print System Event Log (SEL)
    pef           Configure Platform Event Filtering (PEF)
    sol           Configure and connect IPMIv2.0 Serial-over-LAN
    tsol          Configure and connect with Tyan IPMIv1.5 Serial-over-LAN
    isol          Configure IPMIv1.5 Serial-over-LAN
    user          Configure Management Controller users
    channel       Configure Management Controller channels
    session       Print session information
    sunoem        OEM Commands for Sun servers
    kontronoem    OEM Commands for Kontron devices
    picmg         Run a PICMG/ATCA extended cmd
    fwum          Update IPMC using Kontron OEM Firmware Update Manager
    firewall      Configure Firmware Firewall
    shell         Launch interactive IPMI shell
    exec          Run list of commands from file
    set      &nb
sp;    Set runtime variable for shell and exec
    hpm           Update HPM components using PICMG HPM.1 file
    ekanalyzer    run FRU-Ekeying analyzer using FRU files
   
[2hei.net]# ipmitool event 3
Sending SAMPLE event: Memory – Correctable ECC
   0 | Pre-Init Time-stamp   | Memory #0x53 | Correctable ECC | Asserted
  
[2hei.net]# ipmitool sdr elist
CPU0 below Tmax  | 7Bh | ok  |  3.0 | 47 degrees C
CPU1 below Tmax  | 7Ah | ok  |  3.1 | 39 degrees C
DIMM0 Area(RT3)  | 7Eh | ok  |  7.0 | 30 degrees C
PCI Area(RT2)    | 7Fh | ok  |  7.0 | 36 degrees C
CPU0 VCORE       | 71h | ok  |  3.0 | 0.90 Volts

   
[2hei.net~]#mcelog –cpu nehalem –dmi < /var/log/mcelog >> /home/2hei.net/mcelog.dmi

CPU1 VCORE       | 70h | ok  |  3.1 | 1.02 Volts
3.3V             | 75h | ok  |  7.0 | 3.30 Volts
+12V             | 76h | ok  |  7.0 | 11.81 Volts
VBAT             | 79h | ok  |  7.0 | 3.12 Volts
5V               | 77h | ok  |  7.0 | 4.90 Volts
Sys.1(CPU 1)     | 80h | ns  |  7.0 | No Reading
Sys.2(CPU 0)     | 81h | ok  |  7.0 | 6720 RPM
Sys.3(Front 1)   | 82h | ok  |  7.0 | 4080 RPM
Sys.4(Front 2)   | 83h | ok  |  7.0 | 3840 RPM
Sys.5(Rear 1)    | 84h | ok  |  7.0 | 4200 RPM
Sys.6            | 85h | ns  |  7.0 | No Reading
Sys.7            | 86h | ns  |  7.0 | No Reading
Sys.8            | 87h | ns  |  7.0 | No Reading
Sys.9            | 88h | ns  |  7.0 | No Reading
Sys.10           | 89h | ns  |  7.0 | No Reading