On se jännä...
$ lshw -c memory
Hardware Lister (lshw) - B.02.12.01
usage: lshw [-format] [-options ...]
lshw -version
-version print program version (B.02.12.01)
format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-short output hardware paths
-businfo output bus information
options can be
-class CLASS only show a certain class of hardware
-C CLASS same as '-class CLASS'
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don't display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)
$ lshw -C memory
WARNING: you should run this program as super-user.
*-memory
description: System memory
physical id: 0
size: 1001MiB