Outra opção é o comando lshw
(man page) - ele fornece resultados sobre muitas coisas, incluindo os slots de RAM. A saída completa é muito longa, mas sudo lshw -short
fornece um resumo incluindo uma linha por slot de RAM, independentemente de haver ou não RAM no slot. Ou para informações completas sobre RAM, mas omitindo tudo o mais que você poderia fazer sudo lshw -class memory
.
A saída que recebo de sudo lshw -short
é:
H/W path Device Class Description
=============================================================
system ESPRIMO E ()
/0 bus D2348-A2
/0/0 memory 109KiB BIOS
/0/4 processor Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
/0/4/6 memory 2MiB L2 cache
/0/7 memory 2MiB L3 cache
/0/25 memory 6GiB System Memory
/0/25/0 memory 2GiB DIMM DDR2 Synchronous 533 MHz (1.9 ns)
/0/25/1 memory 1GiB DIMM DDR2 Synchronous 533 MHz (1.9 ns)
/0/25/2 memory 2GiB DIMM DDR2 Synchronous 533 MHz (1.9 ns)
/0/25/3 memory 1GiB DIMM DDR2 Synchronous 533 MHz (1.9 ns)
/0/100 bridge 82Q963/Q965 Memory Controller Hub
/0/100/2 display 82Q963/Q965 Integrated Graphics Controller
/0/100/3 communication 82Q963/Q965 HECI Controller
/0/100/3.2 storage 82Q963/Q965 PT IDER Controller
/0/100/3.3 communication 82Q963/Q965 KT Controller
/0/100/19 eth0 network 82566DM Gigabit Network Connection
/0/100/1a bus 82801H (ICH8 Family) USB UHCI Controller #4
/0/100/1a.1 bus 82801H (ICH8 Family) USB UHCI Controller #5
/0/100/1a.7 bus 82801H (ICH8 Family) USB2 EHCI Controller #2
/0/100/1b multimedia 82801H (ICH8 Family) HD Audio Controller
/0/100/1d bus 82801H (ICH8 Family) USB UHCI Controller #1
/0/100/1d.1 bus 82801H (ICH8 Family) USB UHCI Controller #2
/0/100/1d.2 bus 82801H (ICH8 Family) USB UHCI Controller #3
/0/100/1d.7 bus 82801H (ICH8 Family) USB2 EHCI Controller #1
/0/100/1e bridge 82801 PCI Bridge
/0/100/1f bridge 82801HO (ICH8DO) LPC Interface Controller
/0/100/1f.2 scsi0 storage 82801H (ICH8 Family) 4 port SATA IDE Controller
/0/100/1f.2/0 /dev/sda disk 160GB ST3160812AS
/0/100/1f.2/0/1 /dev/sda1 volume 149GiB EXT4 volume
/0/100/1f.2/1 /dev/cdrom disk DVD-RAM GSA-H30N
/0/100/1f.3 bus 82801H (ICH8 Family) SMBus Controller
/0/100/1f.5 scsi2 storage 82801H (ICH8 Family) 2 port SATA IDE Controller
/0/100/1f.5/0.0.0 /dev/sdb disk 40GB KINGSTON SSDNow
/0/100/1f.5/0.0.0/1 /dev/sdb1 volume 31GiB EXT4 volume
/0/100/1f.5/0.0.0/2 /dev/sdb2 volume 5867MiB Extended partition
/0/100/1f.5/0.0.0/2/5 /dev/sdb5 volume 5867MiB Linux swap / Solaris partition
/1 power S26113-E505-V80
/2 wlan0 network Wireless interface
A saída que recebo de sudo lshw -class memory
é:
*-firmware
description: BIOS
vendor: FUJITSU SIEMENS // Phoenix Technologies Ltd.
physical id: 0
version: 6.00 R1.02.2348.A2
date: 09/18/2006
size: 109KiB
capacity: 448KiB
capabilities: pci pnp upgrade shadowing escd cdboot bootselect int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
*-cache
description: L2 cache
physical id: 6
slot: L2 Cache
size: 2MiB
capacity: 2MiB
capabilities: burst internal write-back unified
*-cache
description: L3 cache
physical id: 7
slot: L3 Cache
size: 2MiB
capacity: 16MiB
capabilities: burst internal write-back unified
*-memory
description: System Memory
physical id: 25
slot: System board or motherboard
size: 6GiB
*-bank:0
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
physical id: 0
slot: Slot-1
size: 2GiB
width: 40968 bits
clock: 533MHz (1.9ns)
*-bank:1
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
physical id: 1
slot: Slot-3
size: 1GiB
width: 41480 bits
clock: 533MHz (1.9ns)
*-bank:2
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
physical id: 2
slot: Slot-2
size: 2GiB
width: 41992 bits
clock: 533MHz (1.9ns)
*-bank:3
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
physical id: 3
slot: Slot-4
size: 1GiB
width: 42504 bits
clock: 533MHz (1.9ns)