Hardware
有沒有辦法知道 Linux 中 L1、L2、L3 記憶體和 RAM 的大小?
有沒有辦法知道 Linux 中 L1、L2、L3 記憶體和 RAM 的大小?
如果您已
lshw
安裝:$ sudo lshw -C memory
例子
$ sudo lshw -C memory ... *-cache:0 description: L1 cache physical id: a slot: Internal L1 Cache size: 32KiB capacity: 32KiB capabilities: asynchronous internal write-through data *-cache:1 description: L2 cache physical id: b slot: Internal L2 Cache size: 256KiB capacity: 256KiB capabilities: burst internal write-through unified *-cache:2 description: L3 cache physical id: c slot: Internal L3 Cache size: 3MiB capacity: 8MiB capabilities: burst internal write-back *-memory description: System Memory physical id: 2a slot: System board or motherboard size: 8GiB *-bank:0 description: SODIMM DDR3 Synchronous 1334 MHz (0.7 ns) product: M471B5273CH0-CH9 vendor: Samsung physical id: 0 serial: 67010644 slot: DIMM 1 size: 4GiB width: 64 bits clock: 1334MHz (0.7ns) *-bank:1 description: SODIMM DDR3 Synchronous 1334 MHz (0.7 ns) product: 16JTF51264HZ-1G4H1 vendor: Micron Technology physical id: 1 serial: 3749C127 slot: DIMM 2 size: 4GiB width: 64 bits clock: 1334MHz (0.7ns)