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 :-).