1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/free.md

21 lines
313 B
Markdown
Raw Normal View History

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