How to find out memory utilization in Linux ?
Memory utilization means to measure the memory usage on machine. It can be done in various ways and using following commands:
1. Free
To display free memory size in MB (megabytes):
$ free -m
Sample outputs:
total used free shared buffers cached Mem: 750 625 125 0 35 335 -/+ buffers/cache: 254 496 Swap: 956 0 956
2. VMSTAT
Vmstat shows memory and other resources utilization at that point in time since last boot.
If vmstat fired with repetition then it will show usage with respect to last interval.
$ vmstat
3. TOP
The top command generates a frequently-updated list of processes. It shows usage of Memory in addition to CPU and swap space.
$ top
Tags: Linux
Subscribe to:
Post Comments (Atom)
Share your views...
0 Respones to "How to find out memory utilization in Linux ?"
Post a Comment