mirror of https://github.com/mkerrisk/man-pages
proc.5: Minor tweaks to Petr Gajdos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
95fe794d41
commit
1f0add2855
34
man5/proc.5
34
man5/proc.5
|
@ -59,7 +59,7 @@
|
|||
.\" to see what information could be imported from that file
|
||||
.\" into this file.
|
||||
.\"
|
||||
.TH PROC 5 2014-04-09 "Linux" "Linux Programmer's Manual"
|
||||
.TH PROC 5 2014-04-12 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
proc \- process information pseudo-filesystem
|
||||
.SH DESCRIPTION
|
||||
|
@ -971,11 +971,11 @@ are not available if the main thread has already terminated
|
|||
.IR /proc/[pid]/smaps " (since Linux 2.6.14)"
|
||||
.\" CONFIG_PROC_PAGE_MONITOR
|
||||
This file shows memory consumption for each of the process's mappings.
|
||||
For each of mappings there is a series of lines such as the following:
|
||||
For each mapping there is a series of lines such as the following:
|
||||
.in +4n
|
||||
.nf
|
||||
|
||||
00400000-0048a000 r-xp 00000000 fd:03 960637 /bin/bash
|
||||
00400000-0048a000 r-xp 00000000 fd:03 960637 /bin/bash
|
||||
Size: 552 kB
|
||||
Rss: 460 kB
|
||||
Pss: 100 kB
|
||||
|
@ -999,28 +999,32 @@ for the mapping in
|
|||
The remaining lines show the size of the mapping,
|
||||
the amount of the mapping that is currently resident in RAM ("Rss"),
|
||||
the process' proportional share of this mapping ("Pss"),
|
||||
the number of clean and dirty shared pages in the mapping
|
||||
the number of clean and dirty shared pages in the mapping,
|
||||
and the number of clean and dirty private pages in the mapping.
|
||||
"Referenced" indicates the amount of memory currently marked as
|
||||
referenced or accessed. "Anonymous" shows the amount of memory
|
||||
that does not belong to any file. "Swap" shows how much
|
||||
referenced or accessed.
|
||||
"Anonymous" shows the amount of memory
|
||||
that does not belong to any file.
|
||||
"Swap" shows how much
|
||||
would-be-anonymous memory is also used, but out on swap.
|
||||
|
||||
The "KernelPageSize" entry is the pagesize used by the kernel to
|
||||
back a VMA. This matches the size used by the MMU in the majority
|
||||
of cases. However, one counter-example occurs on PPC64 kernels
|
||||
whereby a kernel using 64K as a base pagesize may still use 4K
|
||||
pages for the MMU on older processor. To distinguish, this
|
||||
patch reports "MMUPageSize" as the pagesize used by the MMU.
|
||||
The "KernelPageSize" entry is the page size used by the kernel to back a VMA.
|
||||
This matches the size used by the MMU in the majority of cases.
|
||||
However, one counter-example occurs on PPC64 kernels
|
||||
whereby a kernel using 64K as a base page size may still use 4K
|
||||
pages for the MMU on older processors.
|
||||
To distinguish, this
|
||||
patch reports "MMUPageSize" as the page size used by the MMU.
|
||||
|
||||
The "Locked" indicates whether the mapping is locked in memory
|
||||
or not.
|
||||
|
||||
"VmFlags" field represents the kernel flags associated with
|
||||
the particular virtual memory area in two letter encoded
|
||||
manner. The codes are the following:
|
||||
the particular virtual memory area in two letter encoded manner.
|
||||
The codes are the following:
|
||||
|
||||
rd - readable
|
||||
wr - writeable
|
||||
wr - writable
|
||||
ex - executable
|
||||
sh - shared
|
||||
mr - may read
|
||||
|
|
Loading…
Reference in New Issue