Display available memory on Linux / Ubuntu Rodyti laisvos atminties Linux / Ubuntu
Run this command from a terminal window. Vykdyti šią programą iš terminalo langą komandą. This works on debian, ubuntu, and redhat. Tai Debian, Ubuntu darbų ir RedHat. I'm sure it works on others but those are the only ones I have access to. Aš tikiu, kad jis veikia dėl kitų, tačiau jie yra vieninteliai turiu gauti.
cat /proc/meminfo cat / proc / meminfo
You should see results similar to this: Turėtumėte pamatyti rezultatus, panašius į šį:
MemTotal: 3615716 kB MemTotal: 3615716 KB MemFree: 132528 kB MemFree: 132.528 KB MemShared: 0 kB MemShared: 0 kB Buffers: 50028 kB Amortizatoriai: 50.028 KB Cached: 1572772 kB Cached: 1572772 KB SwapCached: 80716 kB SwapCached: 80.716 KB Active: 580208 kB Aktyvus: 580.208 KB Inactive: 1142848 kB Neaktyvūs: 1142848 KB HighTotal: 2752384 kB HighTotal: 2752384 KB HighFree: 8576 kB HighFree: 8.576 KB LowTotal: 863332 kB LowTotal: 863.332 KB LowFree: 123952 kB LowFree: 123.952 KB SwapTotal: 2104504 kB SwapTotal: 2104504 KB SwapFree: 1064540 kB SwapFree: 1064540 KB

Daily Email Updates Dienos paštas Atnaujinimai
You can get our how-to articles in your inbox each day for free. Galite gauti mūsų kaip prie straipsnių į Jūsų pašto dėžutę kasdien nemokamai. Just enter your name and email below: Tiesiog įveskite vardą ir elektroninio pašto adresą žemiau:



thanks ačiū
or use command free arba naudokite komandą be
hmmm… when i'm trying the command : free -m hmmm ... kai aš mėginu komanda: free-m
the result is different. Rezultatas yra skirtingas.
cat /proc/meminfo : cat / proc / meminfo:
MemTotal: 4054364 kB MemTotal: 4054364 KB
MemFree: 338924 kB MemFree: 338.924 KB
free -m : free-m:
total used free shared buffers cached viso naudojama nemokamai bendras buferiai talpyklos
Mem: 3959 3491 468 0 8 787 Mem: 3959 3491 468 0 8 787
can U explain about this? Can U paaiškinti apie tai?
I know this was a while ago, but in case somebody else uses this page for reference. Aš žinau, tai buvo seniai, bet jei kažkas naudoja šio puslapio nuorodą.
The command 'free -m' will display the memory in MB's where the 'free' alone is in kb's Komanda 'free-m "bus rodomas MB Štai kur" nemokamai "vien atminties kb's