ലിനക്സിൽ Dmidecode കമാൻഡ് ഉപയോഗിച്ച് ഹാർഡ്uവെയർ വിവരങ്ങൾ എങ്ങനെ നേടാം
ഏത് ലിനക്സ് സിസ്റ്റത്തിന്റേയും ഹാർഡ്uവെയർ വിവരങ്ങൾ വീണ്ടെടുക്കുന്നതിന് Dmidecode കമാൻഡ് എങ്ങനെ ഉപയോഗിക്കാമെന്ന് ഈ ലേഖനത്തിൽ നമ്മൾ കാണും. നമുക്ക് ഒരു സിസ്റ്റം അപ്uഗ്രേഡ് ചെയ്യണമെങ്കിൽ മെമ്മറി, ബയോസ്, സിപിയു തുടങ്ങിയ വിവരങ്ങൾ ശേഖരിക്കേണ്ടതുണ്ട്. Dmidecode കമാൻഡിന്റെ സഹായത്തോടെ നമുക്ക് സിസ്റ്റം ചേസിസ് തുറക്കാതെ തന്നെ വിശദാംശങ്ങൾ അറിയാൻ കഴിയും. RHEL/CentOS/Fedora/Ubuntu Linux-ന് Dmidecode കമാൻഡ് പ്രവർത്തിക്കുന്നു.
Dmidecode ടൂൾ ഡാറ്റ ലഭ്യമാക്കുന്നതിനായി DMI (ചിലർ SMBIOS എന്ന് പറയുന്നു) ടേബിൾ വായിക്കുകയും ഹാർഡ്uവെയർ വിശദാംശങ്ങൾ, സീരിയൽ നമ്പറുകൾ, BIOS പതിപ്പ്, പ്രോസസ്സർ മുതലായവ പോലുള്ള ഉപയോഗപ്രദമായ സിസ്റ്റം വിവരങ്ങൾ മനുഷ്യർക്ക് വായിക്കാവുന്ന ഫോർമാറ്റിൽ പ്രദർശിപ്പിക്കുകയും ചെയ്യുന്നു. dmidecode കമാൻഡ് പ്രവർത്തിപ്പിക്കുന്നതിന് നിങ്ങൾക്ക് റൂട്ട് പ്രത്യേകാവകാശം ആവശ്യമായി വന്നേക്കാം.
1. ഡെമിഡെകോഡിന്റെ അടിസ്ഥാന ഔട്ട്പുട്ട്
Demidecode കമാൻഡ് സാമ്പിൾ ഔട്ട്പുട്ട് ചുവടെയുണ്ട്.
# dmidecode 2.11 SMBIOS version fixup (2.31 -> 2.3). SMBIOS 2.3 present. 45 structures occupying 1642 bytes. Table at 0x000E0010. Handle 0x0000, DMI type 0, 20 bytes BIOS Information Vendor: Phoenix Technologies LTD Version: 6.00 Release Date: 12/06/2006 Address: 0xE78A0 Runtime Size: 100192 bytes ROM Size: 64 kB Characteristics: ISA is supported PCI is supported PC Card (PCMCIA) is supported PNP is supported APM is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available USB legacy is supported Smart battery is supported BIOS boot specification is supported
2. DMI തരങ്ങൾ എങ്ങനെ ലഭിക്കും
ഡിഎംഐ ഐഡി ഞങ്ങൾക്ക് സിസ്റ്റത്തിന്റെ പ്രത്യേക ഹാർഡ്uവെയർ വിവരങ്ങൾ നൽകുന്നു. ‘-t’ അല്ലെങ്കിൽ ‘–type’, ‘Id’ എന്നീ ഓപ്uഷനുകളുള്ള Dmidecode ഞങ്ങൾക്ക് കൃത്യമായ വിവരങ്ങൾ നൽകും. ഐഡി 6 നമുക്ക് മെമ്മറി മൊഡ്യൂൾ വിവരങ്ങൾ നൽകും.
dmidecode -t 6 # dmidecode 2.11 SMBIOS version fixup (2.31 -> 2.3). SMBIOS 2.3 present. Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: RAM socket #0 Bank Connections: 0 1 Current Speed: Unknown Type: EDO DIMM Installed Size: 1024 MB (Single-bank Connection) Enabled Size: 1024 MB (Single-bank Connection) Error Status: OK Handle 0x000A, DMI type 6, 12 bytes Memory Module Information Socket Designation: RAM socket #1 Bank Connections: 2 3 Current Speed: Unknown Type: EDO DIMM Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK Handle 0x000B, DMI type 6, 12 bytes Memory Module Information Socket Designation: RAM socket #2 Bank Connections: 4 5 Current Speed: Unknown Type: EDO DIMM Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK Handle 0x000C, DMI type 6, 12 bytes Memory Module Information Socket Designation: RAM socket #3 Bank Connections: 6 7 Current Speed: Unknown Type: EDO DIMM Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK
DMI തരങ്ങളുടെ വിശദാംശങ്ങൾ താഴെ കൊടുക്കുന്നു.
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' എന്നതിനൊപ്പം പോകുന്നതിനുപകരം നിങ്ങൾക്ക് dmidecode കമാൻഡിലേക്ക് '-t' ആർഗ്യുമെന്റ് ഉള്ള കീവേഡും ഉപയോഗിക്കാം. ലഭ്യമായ കീവേഡുകളുടെ ലിസ്റ്റ് താഴെ കൊടുക്കുന്നു.
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
ഉദാഹരണത്തിന്, സിസ്റ്റത്തിൽ കാഷെ വിവരങ്ങൾ ലഭിക്കുന്നതിന്, നിങ്ങൾക്ക് ഐഡി 7-ന് പകരം താഴെയുള്ള കമാൻഡ് എക്സിക്യൂട്ട് ചെയ്യാം.
dmidecode -t cache # dmidecode 2.11 SMBIOS version fixup (2.31 -> 2.3). SMBIOS 2.3 present. Handle 0x000D, DMI type 7, 19 bytes Cache Information Socket Designation: L1 Cache Configuration: Enabled, Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 16 kB Maximum Size: 16 kB Supported SRAM Types: Burst Pipeline Burst Asynchronous Installed SRAM Type: Asynchronous Speed: Unknown Error Correction Type: Unknown System Type: Unknown Associativity: Unknown Handle 0x000E, DMI type 7, 19 bytes Cache Information Socket Designation: L2 Cache Configuration: Enabled, Socketed, Level 2 Operational Mode: Write Back Location: External Installed Size: 0 kB Maximum Size: 512 kB Supported SRAM Types: Burst Pipeline Burst Asynchronous Installed SRAM Type: None Speed: Unknown Error Correction Type: Unknown System Type: Unknown Associativity: Unknown
3. മെമ്മറി വിവരങ്ങൾ എങ്ങനെ നേടാം
സിസ്റ്റത്തിൽ മെമ്മറി വിവരങ്ങൾ എങ്ങനെ ലഭിക്കും, സിസ്റ്റം എത്ര മെമ്മറി പിന്തുണയ്ക്കുന്നു? സിസ്റ്റത്തിന് പരമാവധി 4 ജിബി റാം പിന്തുണയ്ക്കാൻ കഴിയുമെന്ന് ഇനിപ്പറയുന്ന കമാൻഡ് കാണിക്കുന്നു.
dmidecode -t 16 # dmidecode 2.11 SMBIOS version fixup (2.31 -> 2.3). SMBIOS 2.3 present. Handle 0x001D, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 4 GB Error Information Handle: Not Provided Number Of Devices: 4
ശ്രദ്ധിക്കുക: കീവേഡ് ലിസ്റ്റിൽ നിന്ന് മെമ്മറിയുമായി ബന്ധപ്പെട്ട വിവര ഐഡികൾ 5, 6, 16, 17 എന്നിവയാണ്.
4. എനിക്ക് എങ്ങനെ BIOS വിവരങ്ങൾ ലഭിക്കും?
സിസ്റ്റത്തിന്റെ ബയോസ് വിവരങ്ങൾ ലഭിക്കുന്നതിന്, '-t' ഓപ്ഷൻ ഉപയോഗിച്ച് ഇനിപ്പറയുന്ന കമാൻഡ് പ്രവർത്തിപ്പിക്കുക.
dmidecode -t bios # dmidecode 2.11 SMBIOS version fixup (2.31 -> 2.3). SMBIOS 2.3 present. Handle 0x0000, DMI type 0, 20 bytes BIOS Information Vendor: Phoenix Technologies LTD Version: 6.00 Release Date: 12/06/2006 Address: 0xE78A0 Runtime Size: 100192 bytes ROM Size: 64 kB Characteristics: ISA is supported PCI is supported PC Card (PCMCIA) is supported PNP is supported APM is supported BIOS is upgradeable BIOS shadowing is allowed ESCD support is available USB legacy is supported Smart battery is supported BIOS boot specification is supported
5. എനിക്ക് എങ്ങനെ നിർമ്മാതാവ്, മോഡൽ, സീരിയൽ നമ്പർ എന്നിവ ലഭിക്കും?
സിസ്റ്റത്തിന്റെ നിർമ്മാതാവ്, മോഡൽ, സീരിയൽ നമ്പർ എന്നിവയെക്കുറിച്ചുള്ള വിവരങ്ങൾ ലഭിക്കുന്നതിന്, താഴെ കാണിച്ചിരിക്കുന്നതുപോലെ താഴെ പറയുന്ന കമാൻഡ് ഉപയോഗിക്കുക.
dmidecode -t system # dmidecode 2.11 SMBIOS 2.4 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 9637C76 Version: ThinkCentre M55e Serial Number: L9BT188 UUID: 8015D37A-2F82-DC11-A3FB-8C6E4EBAD5CE Wake-up Type: AC Power Restored SKU Number: Not Specified Family: Not Specified Handle 0x000F, DMI type 12, 5 bytes System Configuration Options Option 1: Jumper settings can be described here. Handle 0x0010, DMI type 15, 29 bytes System Event Log Area Length: 432 bytes Header Start Offset: 0x0000 Header Length: 16 bytes Data Start Offset: 0x0010 Access Method: General-purpose non-volatile data functions Access Address: 0x0000 Status: Valid, Not Full Change Token: 0x0000001A Header Format: Type 1 Supported Log Type Descriptors: 3 Descriptor 1: POST error Data Format 1: POST results bitmap Descriptor 2: Single-bit ECC memory error Data Format 2: Multiple-event Descriptor 3: Multi-bit ECC memory error Data Format 3: Multiple-event Handle 0x0017, DMI type 23, 13 bytes System Reset Status: Enabled Watchdog Timer: Present Boot Option: Do Not Reboot Boot Option On Limit: Do Not Reboot Reset Count: Unknown Reset Limit: Unknown Timer Interval: Unknown Timeout: Unknown Handle 0x001F, DMI type 32, 20 bytes System Boot Information Status:
dmidecode-നെ കുറിച്ച് കൂടുതലറിയാൻ ടെർമിനലിൽ നിന്നോ കമാൻഡ് പ്രോംപ്റ്റിൽ നിന്നോ 'man dmidecode' പ്രവർത്തിപ്പിക്കുക.