Portál AbcLinuxu, 21. května 2025 10:36

Neznámé programy – dmidecode

13.7.2005 00:25 | Přečteno: 1537× | Howto

Po tom co se mě několik lidí zeptalo na dotaz, jehož odpověď je název programu, rozhodl jsem se takovým programům věnovat trochu prostoru v blogu.

První na řadě je program dmidecode. Ten zobrazí různé informace o hardware počítače.

Takže třeba pokud nevíte jaké paměťi máte v počítači, stačí se podívat na jeho výpis:

Handle 0x0008
        DMI type 6, 12 bytes.
        Memory Module Information
                Socket Designation: DIMM1                           
                Bank Connections: 1 0
                Current Speed: Unknown
                Type: DIMM SDRAM
                Installed Size: 256 MB (Single-bank Connection)
                Enabled Size: 256 MB (Single-bank Connection)
                Error Status: OK
Handle 0x0009
        DMI type 6, 12 bytes.
        Memory Module Information
                Socket Designation: DIMM2                           
                Bank Connections: 3 2
                Current Speed: Unknown
                Type: DIMM SDRAM
                Installed Size: 256 MB (Double-bank Connection)
                Enabled Size: 256 MB (Double-bank Connection)
                Error Status: OK
Handle 0x000A
        DMI type 6, 12 bytes.
        Memory Module Information
                Socket Designation: DIMM3                           
                Bank Connections: 5 4
                Current Speed: Unknown
                Type: Unknown
                Installed Size: Not Installed
                Enabled Size: Not Installed
                Error Status: OK

A hned je jasné, že máme obsazení dva sloty paměti a jeden zbývá volný. Podobné informace můžeme získat o PCI sběrnici a u novějšího hardware i o integrovaných portech:

Handle 0x0016
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: PARALLEL PORT
                External Connector Type: DB-25 female
                Port Type: Parallel Port ECP
Handle 0x0017
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: EXTERNAL MONITOR PORT
                External Connector Type: DB-15 female
                Port Type: Other
Handle 0x0018
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: BUILT-IN MODEM PORT
                External Connector Type: RJ-11
                Port Type: Modem Port
Handle 0x0019
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: BUILT-IN LAN PORT
                External Connector Type: RJ-45
                Port Type: Network Port
Handle 0x001A
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: INFRARED PORT
                External Connector Type: Infrared
                Port Type: Other
Handle 0x001B
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: USB PORT
                External Connector Type: Access Bus (USB)
                Port Type: USB
[...]
Handle 0x001E
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: HEADPHONE JACK
                External Connector Type: Mini Jack (headphones)
                Port Type: Other
Handle 0x001F
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: 1394 PORT
                External Connector Type: IEEE 1394
                Port Type: Firewire (IEEE P1394)
Handle 0x0020
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: MICROPHONE JACK
                External Connector Type: Other
                Port Type: Other
Handle 0x0021
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: VIDEO-OUT JACK
                External Connector Type: Other
                Port Type: Other
Handle 0x0022
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator:  
                Internal Connector Type: None
                External Reference Designator: WIRELESS LAN
                External Connector Type: Other
                Port Type: Network Port

Snad se to někomu bude hodit :-).

       

Hodnocení: -

zatím nehodnoceno
        špatnédobré        

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

Komentáře

Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře. , Tisk

Vložit další komentář

13.7.2005 06:19 Zdeněk Burda | skóre: 61 | blog: Zdendův blog | Praha
Rozbalit Rozbalit vše Neznámý?
Odpovědět | Sbalit | Link | Blokovat | Admin
dmidecode mi připadá známi asi jako lspci :-)
-- Nezdar není hanbou, hanbou je strach z pokusu.
13.7.2005 07:48 Spike | skóre: 30 | blog: Communicator | Praha
Rozbalit Rozbalit vše Re: Neznámý?
Já ho neznal! ^o^ (lspci ano)
13.7.2005 17:14 Zdeněk Burda | skóre: 61 | blog: Zdendův blog | Praha
Rozbalit Rozbalit vše Re: Neznámý?
Ještě existuje docela pěkný prográmek lshw, který má docela použitelný výstup do html.
-- Nezdar není hanbou, hanbou je strach z pokusu.

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.