Как определить объем
оперативной памяти в Linux
# cat
/proc/meminfo
или
# free
или
# free
[root@localhost ~]# free
total used free
shared buffers cached
Mem: 1020728 945232
75496 0 145908
560768
-/+ buffers/cache: 238556
782172
Swap: 2064376 0
2064376
[root@localhost ~]# cat /proc/meminfo
MemTotal:
1020728 kB
MemFree:
75504 kB
Buffers:
145916 kB
Cached:
560784 kB
SwapCached:
0 kB
Active:
316528 kB
Inactive:
468820 kB
Active(anon):
16360 kB
Inactive(anon):
63644 kB
Active(file):
300168 kB
Inactive(file):
405176 kB
Unevictable:
0 kB
Mlocked:
0 kB
SwapTotal:
2064376 kB
SwapFree:
2064376 kB
Dirty:
252 kB
Writeback:
0 kB
AnonPages:
78668 kB
Mapped:
25640 kB
Shmem:
1352 kB
Slab:
123236 kB
SReclaimable:
96248 kB
SUnreclaim:
26988 kB
KernelStack:
1968 kB
PageTables:
12196 kB
NFS_Unstable:
0 kB
Bounce:
0 kB
WritebackTmp:
0 kB
CommitLimit:
2574740 kB
Committed_AS:
301748 kB
VmallocTotal:
34359738367 kB
VmallocUsed:
270348 kB
VmallocChunk:
34359451320 kB
HardwareCorrupted:
0 kB
AnonHugePages:
20480 kB
HugePages_Total:
0
HugePages_Free:
0
HugePages_Rsvd:
0
HugePages_Surp:
0
Hugepagesize:
2048 kB
DirectMap4k:
8192 kB
DirectMap2M: 1040384 kB
Комментариев нет:
Отправить комментарий