Linux is one of the most popular open source operating system and comes with huge set of commands. The most important and single way of determining the total available space of the physical memory and swap memory is by using “free” command.
- Linux Command Memory Size
- Linux Command For Memory Info
- Linux Check Memory Command
- Check Memory From Command Prompt
Deposit and play through command to check memory slot on linux £100 to get 100 wager-free spins. Deposit and play through £200 to get 200 wager-free spins. 18+ New eligible UK players only. Offer must be claimed within 14 days of registration.
The Linux “free” command gives information about total used and available space of physical memory and swap memory with buffers used by kernel in Linux/Unix like operating systems.
This article provides some useful examples of “free” commands with options, that might be useful for you to better utilize memory that you have.
1. Display System Memory
Free command used to check the used and available space of physical memory and swap memory in KB. See the command in action below.
2. Display Memory in Bytes
Free command with option -b, display the size of memory in Bytes.
3. Display Memory in Kilo Bytes
Free command with option -k, display the size of memory in (KB) Kilobytes.
Linux Command Memory Size
4. Display Memory in Megabytes
To see the size of the memory in (MB) Megabytes use option as -m.
5. Display Memory in Gigabytes
Using -g option with free command, would display the size of the memory in GB(Gigabytes).
6. Display Total Line
Linux Command For Memory Info
Free command with -t option, will list the total line at the end.
7. Disable Display of Buffer Adjusted Line
By default the free command display “buffer adjusted” line, to disable this line use option as -o.
8. Display Memory Status for Regular Intervals
Linux Check Memory Command
The -s option with number, used to update free command at regular intervals. For example, the below command will update free command every 5 seconds.
9. Show Low and High Memory Statistics
The -l switch displays detailed high and low memory size statistics.
Check Memory From Command Prompt
10. Check Free Version
The -V option, display free command version information.
Read Also
Top Command, Find Command, Netstat Command.