proc.5: various fixes
PATCH 1/1 proc.5: various fixes
--- man5/proc.5 | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)
man5/proc.5 +11 -10
@@ -1414,13 +1414,13 @@ with various options; those dependencies are noted in the list. .TP .IR MemTotal " %lu" Total usable RAM (i.e. physical RAM minus a few reserved -bits and the kernel binary code) +bits and the kernel binary code). .TP .IR MemFree " %lu" The sum of LowFree+HighFree. .TP .IR Buffers " %lu" -Relatively temporary storage for raw disk blocks +Relatively temporary storage for raw disk blocks that shouldn't get tremendously large (20MB or so). .TP .IR Cached " %lu"
@@ -1431,9 +1431,9 @@ Doesn't include .IR SwapCached " %lu" Memory that once was swapped out, is swapped back in but still also is in the swap file. -(Iy memory pressure memory is high, these pages +(If memory pressure is high, these pages don't need to be swapped out again because they are already -in the swapfile. +in the swap file. This saves I/O.) .TP .IR Active " %lu"
@@ -1469,7 +1469,7 @@ It is more eligible to be reclaimed for other purposes. .IR HighTotal " %lu" (Starting with Linux 2.6.19, \fBCONFIG_HIGHMEM\fP is required.) Total amount of highmem. -Highmem is all memory above ~860MB of physical memory +Highmem is all memory above ~860MB of physical memory. Highmem areas are for use by user-space programs, or for the page cache. The kernel must use tricks to access
@@ -1486,7 +1486,7 @@ Lowmem is memory which can be used for everything that highmem can be used for, but it is also available for the kernel's use for its own data structures. Among many other things, -it is where everything from the Slab is allocated. +it is where everything from Slab is allocated. Bad things happen when you're out of lowmem. .TP .IR LowFree " %lu
@@ -1494,7 +1494,8 @@ Bad things happen when you're out of lowmem. Amount of free lowmem. .TP .IR MmapCopy " %lu (since Linux 2.6.29)" -(\fBCONFIG_MMU is required.) +.RB ( CONFIG_MMU +is required.) [To be documented.] .TP .IR SwapTotal " %lu"
@@ -1564,9 +1565,9 @@ of swap with a .I overcommit_ratio of 30, this formula yields a .I CommitLimit -of 7.3G. +of 7.3GB. For more details, see the memory overcommit documentation -in the kerenl source file +in the kernel source file .IR Documentation/vm/overcommit-accounting . .TP .IR Committed_AS " %lu"
@@ -1582,7 +1583,7 @@ allocated for the entire 1GB. This 1GB is memory which has been "committed" to by the VM and can be used at any time by the allocating application. With strict overcommit enabled on the system (mode 2 -.IR /proc/sys/vm/overcommit__memory ), +.IR /proc/sys/vm/overcommit_memory ), allocations which would exceed the .I CommitLimit (detailed above) will not be permitted.
Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/2 proc.5: ffix
In reply to a message not in the archive--- man5/proc.5 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
man5/proc.5 +11 -4
@@ -1417,7 +1417,8 @@ Total usable RAM (i.e. physical RAM minus a few reserved bits and the kernel binary code). .TP .IR MemFree " %lu" -The sum of LowFree+HighFree. +The sum of +.IR LowFree + HighFree. .TP .IR Buffers " %lu" Relatively temporary storage for raw disk blocks that
@@ -1486,7 +1487,9 @@ Lowmem is memory which can be used for everything that highmem can be used for, but it is also available for the kernel's use for its own data structures. Among many other things, -it is where everything from Slab is allocated. +it is where everything from +.I Slab +is allocated. Bad things happen when you're out of lowmem. .TP .IR LowFree " %lu
@@ -1524,10 +1527,14 @@ Files which have been mmaped, such as libraries. In-kernel data structures cache. .TP .IR SReclaimable " %lu (since Linux 2.6.19)" -Part of Slab, that might be reclaimed, such as caches. +Part of +.IR Slab , +that might be reclaimed, such as caches. .TP .IR SUnreclaim " %lu (since Linux 2.6.19)" -Part of Slab, that cannot be reclaimed on memory pressure. +Part of +.IR Slab , +that cannot be reclaimed on memory pressure. .TP .IR KernelStack " %lu (since Linux 2.6.32)" Amount of memory allocated to kernel stacks.
Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/2] proc.5: ffix
In reply to a message not in the archiveThanks David. Applied.
Quoted 53 lines · David Prévot
--- man5/proc.5 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)man5/proc.5 +11
-5@@ -1417,7 +1417,8 @@ Total usable RAM (i.e. physical RAM minus a few reserved bits and the kernel binary code). .TP .IR MemFree " %lu" -The sum of LowFree+HighFree. +The sum of +.IR LowFree + HighFree. .TP .IR Buffers " %lu" Relatively temporary storage for raw disk blocks that@@ -1486,7 +1487,9 @@ Lowmem is memory which can be used for everything that highmem can be used for, but it is also available for the kernel's use for its own data structures. Among many other things, -it is where everything from Slab is allocated. +it is where everything from +.I Slab +is allocated. Bad things happen when you're out of lowmem. .TP .IR LowFree " %lu@@ -1524,10 +1527,14 @@ Files which have been mmaped, such as libraries. In-kernel data structures cache. .TP .IR SReclaimable " %lu (since Linux 2.6.19)" -Part of Slab, that might be reclaimed, such as caches. +Part of +.IR Slab , +that might be reclaimed, such as caches. .TP .IR SUnreclaim " %lu (since Linux 2.6.19)" -Part of Slab, that cannot be reclaimed on memory pressure. +Part of +.IR Slab , +that cannot be reclaimed on memory pressure. .TP .IR KernelStack " %lu (since Linux 2.6.32)" Amount of memory allocated to kernel stacks. --1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks David. Applied.
Quoted 88 lines · David Prévot
--- man5/proc.5 | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)man5/proc.5 +11
-11@@ -1414,13 +1414,13 @@ with various options; those dependencies are noted in the list. .TP .IR MemTotal " %lu" Total usable RAM (i.e. physical RAM minus a few reserved -bits and the kernel binary code) +bits and the kernel binary code). .TP .IR MemFree " %lu" The sum of LowFree+HighFree. .TP .IR Buffers " %lu" -Relatively temporary storage for raw disk blocks +Relatively temporary storage for raw disk blocks that shouldn't get tremendously large (20MB or so). .TP .IR Cached " %lu"@@ -1431,9 +1431,9 @@ Doesn't include .IR SwapCached " %lu" Memory that once was swapped out, is swapped back in but still also is in the swap file. -(Iy memory pressure memory is high, these pages +(If memory pressure is high, these pages don't need to be swapped out again because they are already -in the swapfile. +in the swap file. This saves I/O.) .TP .IR Active " %lu"@@ -1469,7 +1469,7 @@ It is more eligible to be reclaimed for other purposes. .IR HighTotal " %lu" (Starting with Linux 2.6.19, \fBCONFIG_HIGHMEM\fP is required.) Total amount of highmem. -Highmem is all memory above ~860MB of physical memory +Highmem is all memory above ~860MB of physical memory. Highmem areas are for use by user-space programs, or for the page cache. The kernel must use tricks to access@@ -1486,7 +1486,7 @@ Lowmem is memory which can be used for everything that highmem can be used for, but it is also available for the kernel's use for its own data structures. Among many other things, -it is where everything from the Slab is allocated. +it is where everything from Slab is allocated. Bad things happen when you're out of lowmem. .TP .IR LowFree " %lu@@ -1494,7 +1494,8 @@ Bad things happen when you're out of lowmem. Amount of free lowmem. .TP .IR MmapCopy " %lu (since Linux 2.6.29)" -(\fBCONFIG_MMU is required.) +.RB ( CONFIG_MMU +is required.) [To be documented.] .TP .IR SwapTotal " %lu"@@ -1564,9 +1565,9 @@ of swap with a .I overcommit_ratio of 30, this formula yields a .I CommitLimit -of 7.3G. +of 7.3GB. For more details, see the memory overcommit documentation -in the kerenl source file +in the kernel source file .IR Documentation/vm/overcommit-accounting . .TP .IR Committed_AS " %lu"@@ -1582,7 +1583,7 @@ allocated for the entire 1GB. This 1GB is memory which has been "committed" to by the VM and can be used at any time by the allocating application. With strict overcommit enabled on the system (mode 2 -.IR /proc/sys/vm/overcommit__memory ), +.IR /proc/sys/vm/overcommit_memory ), allocations which would exceed the .I CommitLimit (detailed above) will not be permitted. --1.7.10.4
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html