tldr/pages/linux/free.md

20 lines
266 B
Markdown
Raw Normal View History

2014-03-05 06:47:01 +00:00
# free
> Display amount of free and used memory in the system.
2014-03-05 06:47:01 +00:00
- Display system memory:
2014-03-05 06:47:01 +00:00
`free`
- Display memory in Bytes/KB/MB/GB:
2014-03-05 06:47:01 +00:00
`free -{{b|k|m|g}}`
2014-03-05 06:47:01 +00:00
- Display memory in human readable units:
2014-03-05 06:47:01 +00:00
`free -h`
- Refresh the output every 2 seconds:
2014-03-05 06:47:01 +00:00
`free -s {{2}}`