[Email protected] desktop]# cat/proc/sys/vm/drop_caches 0[[email protected] desktop]# file/proc/sys/vm/drop_caches/ Proc/sys/vm/drop_caches:empty[[email protected] desktop]# echo 1 >/proc/sys/vm/drop_caches [[email protected] desktop]# free-h Total used free shared buffers cachedmem: 11G 966M 10G 53M 392K 161m-/+ buffers/cache: 804M 10G Swap: 3.6G 0B
To view the number of memory bars:
[Email protected] desktop]# Dmidecode | Grep-a16 "Memory device$" Memory Devicearray handle:0x0005error information Handle:not providedtotal width:64 bitsData width:64 bitssize:8192 mbform factor:sodimmset:nonelocator:channela-dimm0bank locator:bank 0type:ddr3type detail:s ynchronousspeed:1600 mhzmanufacturer:kingstonserial number:7633d911asset tag:nonepart number:khx1600c9s3l/8g - -memory devicearray handle:0x0005error Information handle:not providedtotal width:64 bitsData width:64 bitssize:4096 Mbform factor:sodimmset:nonelocator:channelb-dimm0bank locator:bank 2type:ddr3type detail:synchronousspeed:1600 MHz Manufacturer:samsungserial Number:20a9c496asset Tag:nonepart Number:m471b5173db0-yk0
Linux Clear Memory