mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
847 B
847 B
Show Used And Available System Memory
The free command will display the total RAM on your system as well as how
much of it is used and how much is still freely available.
$ free
total used free shared buff/cache available
Mem: 1000260 166004 552808 14440 281448 664724
Swap: 0 0 0
The default output format of free is not very readable though. To make it
more human readable, you can add the -h (human) and --si (International
System of Units) flags.
$ free -h --si
total used free shared buff/cache available
Mem: 976M 162M 547M 14M 266M 649M
Swap: 0B 0B 0B
See man free for more details.