Skip to content

Commit 771a0e9

Browse files
authored
docs: Correct and enhance 'free' command documentation (#373)
1 parent f43fa4c commit 771a0e9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

ebook/en/content/018-the-free-command.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `free` command in Linux/Unix is used to show memory (RAM/SWAP) information.
1010
--- Output the memory usage - available and used, as well as swap
1111

1212
**Details:**
13-
--- Outputted values are not human-readable (are in bytes)
13+
--- The values are shown in kibibytes by default.
1414

1515
**Command:**
1616
```
@@ -29,3 +29,15 @@ free
2929
```
3030
free -h
3131
```
32+
## Show memory usage with a total line
33+
34+
**Action:**
35+
--- Output the memory usage and also add a summary line with the total.
36+
37+
**Details:**
38+
--- The `-t` flag is useful for seeing the combined total of memory and swap.
39+
40+
**Command:**
41+
```
42+
free -t
43+
```

0 commit comments

Comments
 (0)