diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-08-19 22:01:55 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-08-19 22:01:55 +0200 |
| commit | 9bc87ed07a97ef38674f646162d92dbf05c866c6 (patch) | |
| tree | 4529dc272439f1bef66580c8fc8ce1a41994a92e /man5 | |
| parent | d2fdb1e30a5fa3673de8ef2007abe9673297cfdc (diff) | |
| download | man-pages-9bc87ed07a97ef38674f646162d92dbf05c866c6.tar.gz | |
ctime.3, drand48.3, fmtmsg.3, getnameinfo.3, gsignal.3, strftime.3, strptime.3, cciss.4, console_codes.4, sd.4, sk98lin.4, st.4, proc.5, charsets.7, cpuset.7, pty.7, suffixes.7, udplite.7, unix.7: Use en-dash for ranges
Based on a patch by Bjarni Ingi Gislason.
Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
| -rw-r--r-- | man5/proc.5 | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index a640457104..126fdaff08 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -114,7 +114,7 @@ This means that .IR /proc/[pid] entries can no longer be used to discover the PIDs on the system. This doesn't hide the fact that a process with a specific PID value exists -(it can be learned by other means, for example, by "kill -0 $PID"), +(it can be learned by other means, for example, by "kill \-0 $PID"), but it hides a process's UID and GID, which could otherwise be learned by employing .BR stat (2) @@ -1008,7 +1008,7 @@ Here is an example, with the output wrapped and reformatted to fit on an 80-colu .EX .RB "#" " ls -l /proc/self/map_files/" lr\-\-\-\-\-\-\-\-. 1 root root 64 Apr 16 21:31 - 3252e00000\-3252e20000 \-> /usr/lib64/ld-2.15.so + 3252e00000\-3252e20000 \-> /usr/lib64/ld\-2.15.so \&... .EE .in @@ -1060,25 +1060,25 @@ The format of the file is: .in 4n .EX .I "address perms offset dev inode pathname" -00400000-00452000 r-xp 00000000 08:02 173521 /usr/bin/dbus-daemon -00651000-00652000 r--p 00051000 08:02 173521 /usr/bin/dbus-daemon -00652000-00655000 rw-p 00052000 08:02 173521 /usr/bin/dbus-daemon -00e03000-00e24000 rw-p 00000000 00:00 0 [heap] -00e24000-011f7000 rw-p 00000000 00:00 0 [heap] +00400000\-00452000 r-xp 00000000 08:02 173521 /usr/bin/dbus-daemon +00651000\-00652000 r--p 00051000 08:02 173521 /usr/bin/dbus-daemon +00652000\-00655000 rw-p 00052000 08:02 173521 /usr/bin/dbus-daemon +00e03000\-00e24000 rw-p 00000000 00:00 0 [heap] +00e24000\-011f7000 rw-p 00000000 00:00 0 [heap] \&... -35b1800000-35b1820000 r-xp 00000000 08:02 135522 /usr/lib64/ld-2.15.so -35b1a1f000-35b1a20000 r--p 0001f000 08:02 135522 /usr/lib64/ld-2.15.so -35b1a20000-35b1a21000 rw-p 00020000 08:02 135522 /usr/lib64/ld-2.15.so -35b1a21000-35b1a22000 rw-p 00000000 00:00 0 -35b1c00000-35b1dac000 r-xp 00000000 08:02 135870 /usr/lib64/libc-2.15.so -35b1dac000-35b1fac000 ---p 001ac000 08:02 135870 /usr/lib64/libc-2.15.so -35b1fac000-35b1fb0000 r--p 001ac000 08:02 135870 /usr/lib64/libc-2.15.so -35b1fb0000-35b1fb2000 rw-p 001b0000 08:02 135870 /usr/lib64/libc-2.15.so +35b1800000\-35b1820000 r-xp 00000000 08:02 135522 /usr/lib64/ld\-2.15.so +35b1a1f000\-35b1a20000 r--p 0001f000 08:02 135522 /usr/lib64/ld\-2.15.so +35b1a20000\-35b1a21000 rw-p 00020000 08:02 135522 /usr/lib64/ld\-2.15.so +35b1a21000\-35b1a22000 rw-p 00000000 00:00 0 +35b1c00000\-35b1dac000 r-xp 00000000 08:02 135870 /usr/lib64/libc\-2.15.so +35b1dac000\-35b1fac000 ---p 001ac000 08:02 135870 /usr/lib64/libc\-2.15.so +35b1fac000\-35b1fb0000 r--p 001ac000 08:02 135870 /usr/lib64/libc\-2.15.so +35b1fb0000\-35b1fb2000 rw-p 001b0000 08:02 135870 /usr/lib64/libc\-2.15.so \&... -f2c6ff8c000-7f2c7078c000 rw-p 00000000 00:00 0 [stack:986] +f2c6ff8c000\-7f2c7078c000 rw-p 00000000 00:00 0 [stack:986] \&... -7fffb2c0d000-7fffb2c2e000 rw-p 00000000 00:00 0 [stack] -7fffb2d48000-7fffb2d49000 r-xp 00000000 00:00 0 [vdso] +7fffb2c0d000\-7fffb2c2e000 rw-p 00000000 00:00 0 [stack] +7fffb2d48000\-7fffb2d49000 r-xp 00000000 00:00 0 [vdso] .EE .in .IP @@ -1474,7 +1474,7 @@ If set, the page is in swap space 61 (since Linux 3.5) The page is a file-mapped page or a shared anonymous page. .TP -60-56 (since Linux 3.11) +60\(en56 (since Linux 3.11) Zero .\" Not quite true; see commit 541c237c0923f567c9c4cabb8a81635baadc713f .TP @@ -1483,17 +1483,17 @@ PTE is soft-dirty (see the kernel source file .IR Documentation/vm/soft-dirty.txt ). .TP -54-0 +54\(en0 If the page is present in RAM (bit 63), then these bits provide the page frame number, which can be used to index .IR /proc/kpageflags and .IR /proc/kpagecount . If the page is present in swap (bit 62), -then bits 4-0 give the swap type, and bits 54-5 encode the swap offset. +then bits 4\(en0 give the swap type, and bits 54\(en5 encode the swap offset. .RE .IP -Before Linux 3.11, bits 60-55 were +Before Linux 3.11, bits 60\(en55 were used to encode the base-2 log of the page size. .IP To employ @@ -1647,7 +1647,7 @@ For each mapping there is a series of lines such as the following: .IP .in +4n .EX -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 @@ -2586,10 +2586,10 @@ For most clocks, this is a number that matches one of the user-space constants exposed via .IR <time.h> . .B CLOCK_PROCESS_CPUTIME_ID -timers display with a value of -6 +timers display with a value of \-6 in this field. .B CLOCK_THREAD_CPUTIME_ID -timers display with a value of -2 +timers display with a value of \-2 in this field. .RE .IP @@ -2955,7 +2955,7 @@ file is present only if the .B CONFIG_PROC_PAGE_MONITOR kernel configuration option is enabled. .TP -.IR /proc/ksyms " (Linux 1.1.23-2.5.47)" +.IR /proc/ksyms " (Linux 1.1.23\(em2.5.47)" See .IR /proc/kallsyms . .TP @@ -3960,7 +3960,7 @@ and the "free file handles" value is always zero. .TP .IR /proc/sys/fs/inode-max " (only present until Linux 2.2)" This file contains the maximum number of in-memory inodes. -This value should be 3-4 times larger +This value should be 3\(em4 times larger than the value in .IR file-max , since \fIstdin\fP, \fIstdout\fP |
