Æí¸®ÇÑ È£½ºÆà ¹Ì¼ÒIDC

   
 
 
 

      1Â÷ ³×ÀÓ¼­¹ö :
      ns1.misoidc.com
      101.79.73.101

      2Â÷ ³×ÀÓ¼­¹ö :
      ns2.misoidc.com
      101.79.73.105

      ¾îÁ¦ : 304 ,¿À´Ã : 306
      Àüü : 1,151,352


     

 

 
ÀÛ¼ºÀÏ : 13-03-06 14:15
[Linux] Çϵå¿þ¾î Á¤º¸ È®ÀÎÇϱâ - dmidecode, lshw
 ±Û¾´ÀÌ : ½ÑÀ¥È£½ºÆÃ
Á¶È¸ : 222,562  
1. lshw ¸¦ »ç¿ëÇÏ¿© Çϵå¿þ¾î »ó¼¼ Á¤º¸ È®ÀÎ(¸µÅ© ÂüÁ¶)
- lshw ´Â rpm ÆÐÅ°Áö¸¦ º°µµ·Î ¼³Ä¡ÇؾߵÊ

Âü°í±Û : http://jonnychoe.egloos.com/5549359

2. dmidecode
- ¼³Ä¡ÇÒ ÇÊ¿ä¾øÀ½
- dmidecode ¸í·ÉÀº ¼­¹ö Çϵå¿þ¾î, ¹ÙÀÌ¿À½º Á¤º¸¸¦ system DMI Å×ÀÌºí¿¡¼­ Àоî¿Â´Ù.
½Ã½ºÅÛÀÇ ÇöÀç configuration »óÅ»Ӹ¸ ¾Æ´Ï¶ó ÃÖ´ë Áö¿ø°¡´ÉÇÑ ¼³Á¤ Á¤º¸±îÁöµµ ºÒ·¯¿Â´Ù.
¿¹¸¦ µé¾î, ½Ã½ºÅÛÀÇ ÇöÀç RAM Á¤º¸¿Í ÃÖ´ë È®Àå°¡´ÉÇÑ RAM Á¤º¸±îÁöµµ È®ÀÎÇÒ ¼ö ÀÖ´Ù.

dmidecode ÀÇ output ÇüÅ´ ´ÙÀ½°ú °°´Ù.
Record Header: Handle {record id}, DMI type {dmi type id}, {record size} bytes
Record Value: {multi line record value}
  • record id: Unique identifier for every record in the DMI table.
  • dmi type id: Type of the record. i.e BIOS, Memory etc.,
  • record size: Size of the record in the DMI table.
  • multi line record values: Multi line record value for that specific DMI type.

dmidecode ¸í·ÉÀÇ output ¿¹ :

# dmidecode | head -15

# dmidecode 2.9
SMBIOS 2.3 present.
56 structures occupying 1977 bytes.
Table at 0x000FB320.

Handle 0xDA00, DMI type 218, 11 bytes
OEM-specific Type
        Header and Data:
                DA 0B 00 DA B0 00 17 03 08 28 00

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
        Vendor: Dell Computer Corporation
        Version: A07
        Release Date: 01/13/2004

DMI Å×À̺íÀÇ ·¹ÄÚµå °¹¼ö¸¦ º¸±âÀ§Çؼ­´Â

# dmidecode | grep ^Handle | wc -l
56

(or)

# dmidecode | grep structures
56 structures occupying 1977 bytes.

DMI Types

½Ã½ºÅÛÀÇ CPU Á¤º¸¸¦ º¸±âÀ§Çؼ­´Â type id 4 ¿É¼ÇÀ» dmidecode ¸í·É°ú ÇÔ²² ÁØ´Ù.

# dmidecode -t 4
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0400, DMI type 4, 35 bytes
Processor Information
        Socket Designation: Processor 1
        Type: Central Processor
        Family: Xeon
        Manufacturer: Intel
        ID: 29 0F 00 00 FF FB EB BF
        Signature: Type 0, Family 15, Model 2, Stepping 9
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)

DMI type Àº ¾Æ·¡¿Í °°´Ù.

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

¶ÇÇÑ, type id ¸¦ ÀÔ·ÂÇÏ´Â ´ë½Å¿¡ Å°¿öµå¸¦ »ç¿ëÇÒ ¼öµµ ÀÖ´Ù.

´ÙÀ½Àº »ç¿ë°¡´ÉÇÑ Å°¿öµåÀÌ´Ù.

       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

type id 2 ¿Í 10 ¿¡ ´ëÇÑ Á¤º¸¸¦ º¸±â À§ÇØ Å°¿öµå baseboard ¸¦ »ç¿ëÇÑ ¿¹

# dmidecode -t baseboard
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0200, DMI type 2, 9 bytes
Base Board Information
        Manufacturer: Dell Computer Corporation
        Product Name: 123456
        Version: A05
        Serial Number: ..CN123456789098.

Handle 0x0A00, DMI type 10, 14 bytes
On Board Device 1 Information
        Type: SCSI Controller
        Status: Enabled
        Description: LSI Logic 53C1030 Ultra 320 SCSI
On Board Device 2 Information
        Type: SCSI Controller
        Status: Enabled
        Description: LSI Logic 53C1030 Ultra 320 SCSI
On Board Device 3 Information
        Type: Video
        Status: Enabled
        Description: ATI Rage XL PCI Video
On Board Device 4 Information
        Type: Ethernet
        Status: Enabled
        Description: Broadcom Gigabit Ethernet 1
On Board Device 5 Information
        Type: Ethernet
        Status: Enabled
        Description: Broadcom Gigabit Ethernet 2


dmicode ¸¦ »ç¿ëÇÏ¿© RAM(Physical Memory) ¿¡ ´ëÇÑ Á¤º¸ È®ÀÎÇϱâ

½Ã½ºÅÛ¿¡¼­ Áö¿ø°¡´ÉÇÑ ÃÖ´ë RAM Å©±â´Â ¾ó¸¶Àΰ¡?
¾Æ·¡ ¿¹´Â ÃÖ´ë RAM Å©±â°¡ 8GB ÀÓÀ» º¸¿©ÁØ´Ù.

# dmidecode -t 16
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 8 GB
        Error Information Handle: Not Provided
        Number Of Devices: 4

¸Þ¸ð¸®¸¦ ¾ó¸¶³ª È®ÀåÇÒ ¼ö ÀÖ´ÂÁö ¸¦ È®ÀÎÇϱâ À§ÇØ /proc/meminfo ¸í·ÉÀ» »ç¿ëÇÏ¿© ÇöÀç ¸Þ¸ð¸® ÃÑ·®À» È®ÀÎÇÒ ¼ö ÀÖ´Ù.

# grep MemTotal /proc/meminfo
MemTotal:      1034644 kB

À§ ¿¹´Â ÇöÀç ½Ã½ºÅÛÀÌ 1 GB ¸Þ¸ð¸®¸¦ °¡Áö°í ÀÖÀ½À» È®ÀÎÇÒ ¼ö ÀÖÁö¸¸, ÀÌ°ÍÀÌ 1GB 1°³ÀÎÁö, 512MB 2°³ÀÎÁö, 256MB 4°³ÀÎÁö´Â ¾Ë ¼ö°¡ ¾ø´Ù.

dmidecode ¸í·ÉÀ» »ç¿ëÇÏ¿© memory ½½·Ô¿¡¼­ °¢°¢ »ç¿ëµÇ°í ÀÖ´Â RAM Å©±â¸¦ ¾Ë ¼ö ÀÖ´Ù.

¾Æ·¡ ¿¹´Â memory slot ÀÌ 4°³À̸ç, ÇöÀç ½½·Ô 1,2 ¿¡ 512 MB RAM ÀÌ °¢°¢ ÀåÂøµÇ¾î ÀÖÀ½À» È®ÀÎÇÒ ¼ö ÀÖ´Ù.

# dmidecode -t 17
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x1100, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB  [Note: Slot1 has 512 MB RAM]
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_1A
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)

Handle 0x1101, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB [Note: Slot2 has 512 MB RAM]
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_1B
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)

Handle 0x1102, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed [Note: Slot3 is empty]
        Form Factor: DIMM
        Set: 2
        Locator: DIMM_2A
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)

Handle 0x1103, DMI type 17, 23 bytes
Memory Device
        Array Handle: 0x1000

        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed [Note: Slot4 is empty]
        Form Factor: DIMM
        Set: 2
        Locator: DIMM_2B
        Bank Locator: Not Specified
        Type: DDR
        Type Detail: Synchronous
        Speed: 266 MHz (3.8 ns)


BIOS information È®ÀÎÇϱâ

# dmidecode -t bios
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
        Vendor: Dell Computer Corporation
        Version: A07
        Release Date: 01/13/2004
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 4096 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
                5.25"/360 KB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 KB floppy services are supported (int 13h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported

Handle 0x0D00, DMI type 13, 22 bytes
BIOS Language Information
        Installable Languages: 1
                en|US|iso8859-1
        Currently Installed Language: en|US|iso8859-1


ÀåºñÀÇ Manufacturer, Model °ú Serial number È®ÀÎÇϱâ

# dmidecode -t system
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0100, DMI type 1, 25 bytes
System Information
        Manufacturer: Dell Computer Corporation
        Product Name: PowerEdge 1750
        Version: Not Specified
        Serial Number: 1234567
        UUID: 4123454C-4123-1123-8123-12345603431
        Wake-up Type: Power Switch

Handle 0x0C00, DMI type 12, 5 bytes
System Configuration Options
        Option 1: NVRAM_CLR:  Clear user settable NVRAM areas and set defaults
        Option 2: PASSWD:  Close to enable password

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected



 
 

Total 78
¹øÈ£ Á¦   ¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
78 ¿ø°Ý¼­¹ö¿¡¼­ authorized_keys ·Î ÀÎÁõ¾ÈµÉ¶§ ½ÑÀ¥È£½ºÆà 07-31 24153
77 pptp vpn ¿¬°á¼­ 711 ¿À·ù ½ÑÀ¥È£½ºÆà 01-13 24786
76 ¹Ì¼ÒÄÉÀ̽º ½ÑÀ¥È£½ºÆà 07-30 25724
75 MS-SQL ¸®Çø®ÄÉÀÌ¼Ç (º´ÇÕº¹Á¦) Å×À̺í Ãß°¡ ¹æ¹ý ½ÑÀ¥È£½ºÆà 05-09 28189
74 [Linux] Çϵå¿þ¾î Á¤º¸ È®ÀÎÇϱâ - dmidecode, lshw ½ÑÀ¥È£½ºÆà 03-06 222563
73 The 5 minute DBA: Default My.cnf File ½ÑÀ¥È£½ºÆà 03-06 27356
72 [Àåºñ] OmniSwitch 6850-24x L2/L3 ½ºÀ§Ä¡ ¼³Á¤ ½ÑÀ¥È£½ºÆà 03-05 158109
71 MSSQL _Log.LDF ÆÄÀÏ »çÀÌÆ® Ä¿Á³À»¶§ Á¤¸®ÇÏ´Â ¹æ¹ý ½ÑÀ¥È£½ºÆà 02-20 22507
70 MSSQL¿¡¼­ DB º¹¿ø ÈÄ »ç¿ëÀÚ¿¡ ·Î±×ÀÎÀ̸§ÀÌ ¾ø¾î ¿À·ù°¡ ³ª´Â ¡¦ ½ÑÀ¥È£½ºÆà 02-19 23614
69 centos 6.2 oracle 10g ¼³Ä¡ (2) ½ÑÀ¥È£½ºÆà 12-17 333041
68 mysql Replicating ½ÑÀ¥È£½ºÆà 10-31 30305
67 PHP ¿Í MongoDB »ç¿ë¹ý ½ÑÀ¥È£½ºÆà 07-27 100431
66 ·¹À̾î Æ˾÷ - ´Ý±â&¿À´Ã ÇÏ·ç ¿­Áö ¾Ê±â ½ÑÀ¥È£½ºÆà 06-12 45217
65 backuppc ¼Ò½º¼³Ä¡ Çϱâ (1) ½ÑÀ¥È£½ºÆà 06-11 62296
64 rsyslog + LogAnalyzer ½ÑÀ¥È£½ºÆà 05-21 55970
 1  2  3  4  5  6