mirror of https://github.com/mkerrisk/man-pages
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>
This commit is contained in:
parent
d2fdb1e30a
commit
9bc87ed07a
16
man3/ctime.3
16
man3/ctime.3
|
@ -99,14 +99,14 @@ in the structure \fItm\fP, which is defined in \fI<time.h>\fP as follows:
|
|||
.in +4n
|
||||
.EX
|
||||
struct tm {
|
||||
int tm_sec; /* Seconds (0-60) */
|
||||
int tm_min; /* Minutes (0-59) */
|
||||
int tm_hour; /* Hours (0-23) */
|
||||
int tm_mday; /* Day of the month (1-31) */
|
||||
int tm_mon; /* Month (0-11) */
|
||||
int tm_year; /* Year - 1900 */
|
||||
int tm_wday; /* Day of the week (0-6, Sunday = 0) */
|
||||
int tm_yday; /* Day in the year (0-365, 1 Jan = 0) */
|
||||
int tm_sec; /* Seconds (0\-60) */
|
||||
int tm_min; /* Minutes (0\-59) */
|
||||
int tm_hour; /* Hours (0\-23) */
|
||||
int tm_mday; /* Day of the month (1\-31) */
|
||||
int tm_mon; /* Month (0\-11) */
|
||||
int tm_year; /* Year \- 1900 */
|
||||
int tm_wday; /* Day of the week (0\-6, Sunday = 0) */
|
||||
int tm_yday; /* Day in the year (0\-365, 1 Jan = 0) */
|
||||
int tm_isdst; /* Daylight saving time */
|
||||
};
|
||||
.EE
|
||||
|
|
|
@ -224,10 +224,10 @@ and
|
|||
.IR c .
|
||||
Array argument
|
||||
elements
|
||||
.I param[0-2]
|
||||
.I param[0\-2]
|
||||
specify
|
||||
.IR Xi ,
|
||||
.I param[3-5]
|
||||
.I param[3\-5]
|
||||
specify
|
||||
.IR a ,
|
||||
and
|
||||
|
|
|
@ -202,7 +202,7 @@ severity-keyword,level,printstring
|
|||
then
|
||||
.BR fmtmsg ()
|
||||
will also accept the indicated values for the level (in addition to
|
||||
the standard levels 0-4), and use the indicated printstring when
|
||||
the standard levels 0\(en4), and use the indicated printstring when
|
||||
such a level occurs.
|
||||
.PP
|
||||
The severity-keyword part is not used by
|
||||
|
|
|
@ -94,7 +94,7 @@ If set, then an error is returned if the hostname cannot be determined.
|
|||
.B NI_DGRAM
|
||||
If set, then the service is datagram (UDP) based rather than
|
||||
stream (TCP) based.
|
||||
This is required for the few ports (512-514)
|
||||
This is required for the few ports (512\(en514)
|
||||
that have different services for UDP and TCP.
|
||||
.TP
|
||||
.B NI_NOFQDN
|
||||
|
|
|
@ -94,7 +94,7 @@ the action function with argument
|
|||
and returns the value returned by that function.
|
||||
The range of possible values
|
||||
.I signum
|
||||
varies (often 1-15 or 1-17).
|
||||
varies (often 1\(en15 or 1\(en17).
|
||||
.SH ATTRIBUTES
|
||||
For an explanation of the terms used in this section, see
|
||||
.BR attributes (7).
|
||||
|
|
|
@ -161,7 +161,7 @@ and
|
|||
.B %g
|
||||
Like
|
||||
.BR %G ,
|
||||
but without century, that is, with a 2-digit year (00-99). (TZ)
|
||||
but without century, that is, with a 2-digit year (00\(en99). (TZ)
|
||||
(Calculated from
|
||||
.IR tm_year ,
|
||||
.IR tm_yday ,
|
||||
|
|
|
@ -346,9 +346,9 @@ field if any of the year, month, or day elements changed.
|
|||
The \(aqy\(aq (year in century) specification is taken to specify a year
|
||||
.\" in the 20th century by libc4 and libc5.
|
||||
.\" It is taken to be a year
|
||||
in the range 1950-2049 by glibc 2.0.
|
||||
in the range 1950\(en2049 by glibc 2.0.
|
||||
It is taken to be a year in
|
||||
1969-2068 since glibc 2.1.
|
||||
1969\(en2068 since glibc 2.1.
|
||||
.\" In libc4 and libc5 the code for %I is broken (fixed in glibc;
|
||||
.\" %OI was fixed in glibc 2.2.4).
|
||||
.SS Glibc notes
|
||||
|
@ -368,17 +368,17 @@ the ISO 8601 date format.
|
|||
.TP
|
||||
.B %g
|
||||
The year corresponding to the ISO week number, but without the century
|
||||
(0-99).
|
||||
(0\(en99).
|
||||
.TP
|
||||
.B %G
|
||||
The year corresponding to the ISO week number.
|
||||
(For example, 1991.)
|
||||
.TP
|
||||
.B %u
|
||||
The day of the week as a decimal number (1-7, where Monday = 1).
|
||||
The day of the week as a decimal number (1\(en7, where Monday = 1).
|
||||
.TP
|
||||
.B %V
|
||||
The ISO 8601:1988 week number as a decimal number (1-53).
|
||||
The ISO 8601:1988 week number as a decimal number (1\(en53).
|
||||
If the week (starting on Monday) containing 1 January has four or more days
|
||||
in the new year, then it is considered week 1.
|
||||
Otherwise, it is the last week
|
||||
|
|
12
man4/cciss.4
12
man4/cciss.4
|
@ -107,7 +107,7 @@ Minor numbers:
|
|||
b7 b6 b5 b4 b3 b2 b1 b0
|
||||
|----+----| |----+----|
|
||||
| |
|
||||
| +-------- Partition ID (0=wholedev, 1-15 partition)
|
||||
| +-------- Partition ID (0=wholedev, 1\-15 partition)
|
||||
|
|
||||
+-------------------- Logical Volume number
|
||||
.PP
|
||||
|
@ -125,7 +125,7 @@ The device naming scheme is:
|
|||
.fi
|
||||
.SS Files in /proc
|
||||
The files
|
||||
.I /proc/driver/cciss/cciss[0-9]+
|
||||
.I /proc/driver/cciss/cciss[0\-9]+
|
||||
contain information about
|
||||
the configuration of each controller.
|
||||
For example:
|
||||
|
@ -135,9 +135,9 @@ For example:
|
|||
$ \fBcd /proc/driver/cciss\fP
|
||||
$ \fBls -l\fP
|
||||
total 0
|
||||
-rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss0
|
||||
-rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss1
|
||||
-rw-r--r-- 1 root root 0 2010-09-10 10:38 cciss2
|
||||
-rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss0
|
||||
-rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss1
|
||||
-rw-r--r-- 1 root root 0 2010\-09\-10 10:38 cciss2
|
||||
$ \fBcat cciss2\fP
|
||||
cciss2: HP Smart Array P800 Controller
|
||||
Board ID: 0x3223103c
|
||||
|
@ -247,7 +247,7 @@ For example:
|
|||
.PP
|
||||
.in +4n
|
||||
.EX
|
||||
for x in /proc/driver/cciss/cciss[0-9]*
|
||||
for x in /proc/driver/cciss/cciss[0\-9]*
|
||||
do
|
||||
echo "engage scsi" > $x
|
||||
done
|
||||
|
|
|
@ -80,7 +80,7 @@ according to the mapping table) it has one of the 14 codes
|
|||
1b (ESC), 7f (DEL).
|
||||
One can set a "display control characters" mode (see below),
|
||||
and allow 07, 09, 0b, 18, 1a, 7f to be displayed as glyphs.
|
||||
On the other hand, in UTF-8 mode all codes 00-1f are regarded
|
||||
On the other hand, in UTF-8 mode all codes 00\(en1f are regarded
|
||||
as control characters, regardless of any "display control characters"
|
||||
mode.
|
||||
.PP
|
||||
|
@ -157,8 +157,8 @@ ESC ] OSC T{
|
|||
(Should be: Operating system command)
|
||||
ESC ] P \fInrrggbb\fP: set palette, with parameter
|
||||
given in 7 hexadecimal digits after the final P :-(.
|
||||
Here \fIn\fP is the color (0-15), and \fIrrggbb\fP indicates
|
||||
the red/green/blue values (0-255).
|
||||
Here \fIn\fP is the color (0\(en15), and \fIrrggbb\fP indicates
|
||||
the red/green/blue values (0\(en255).
|
||||
ESC ] R: reset palette
|
||||
T}
|
||||
.TE
|
||||
|
|
|
@ -56,7 +56,7 @@ partition 0 is the whole drive
|
|||
.IP
|
||||
partitions 1\(en4 are the DOS "primary" partitions
|
||||
.IP
|
||||
partitions 5-8 are the DOS "extended" (or "logical") partitions
|
||||
partitions 5\(en8 are the DOS "extended" (or "logical") partitions
|
||||
.PP
|
||||
For example,
|
||||
.I /dev/sda
|
||||
|
|
|
@ -475,7 +475,7 @@ Interrupt moderation should be used when the driver has to
|
|||
handle one or more interfaces with a high network load,
|
||||
which\(emas a consequence\(emleads also to a high CPU utilization.
|
||||
When moderation is applied in such high network load situations,
|
||||
CPU load might be reduced by 20-30% on slow computers.
|
||||
CPU load might be reduced by 20\(en30% on slow computers.
|
||||
.IP
|
||||
Note that the drawback of using interrupt moderation is an increase of
|
||||
the round-trip-time (RTT), due to the queuing and serving of
|
||||
|
|
|
@ -675,12 +675,12 @@ If the value is zero, the cleaning
|
|||
bit is always zero.
|
||||
If the value is one, the TapeAlert data defined
|
||||
in the SCSI-3 standard is used (not yet implemented).
|
||||
Values 2-17 are
|
||||
Values 2\(en17 are
|
||||
reserved.
|
||||
If the lowest eight bits are >= 18, bits from the extended
|
||||
sense data are used.
|
||||
The bits 9-16 specify a mask to select the bits
|
||||
to look at and the bits 17-23 specify the bit pattern to look for.
|
||||
The bits 9\(en16 specify a mask to select the bits
|
||||
to look at and the bits 17\(en23 specify the bit pattern to look for.
|
||||
If the bit pattern is zero, one or more bits under the mask indicate
|
||||
the cleaning request.
|
||||
If the pattern is nonzero, the pattern must match
|
||||
|
|
54
man5/proc.5
54
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
|
||||
|
|
|
@ -49,7 +49,7 @@ still renders properly on modern UTF-8 using systems.
|
|||
.SS ISO 8859
|
||||
ISO 8859 is a series of 15 8-bit character sets, all of which have ASCII
|
||||
in their low (7-bit) half, invisible control characters in positions
|
||||
128 to 159, and 96 fixed-width graphics in positions 160-255.
|
||||
128 to 159, and 96 fixed-width graphics in positions 160\(em255.
|
||||
.PP
|
||||
Of these, the most important is ISO 8859-1
|
||||
("Latin Alphabet No .1" / Latin-1).
|
||||
|
@ -165,7 +165,7 @@ Chinese.
|
|||
(Big5 is both a character set and an encoding.)
|
||||
It is a superset of ASCII.
|
||||
Non-ASCII characters are expressed in two bytes.
|
||||
Bytes 0xa1-0xfe are used as leading bytes for two-byte characters.
|
||||
Bytes 0xa1\(em0xfe are used as leading bytes for two-byte characters.
|
||||
Big5 and its extension were widely used in Taiwan and Hong Kong.
|
||||
It is not ISO 2022 compliant.
|
||||
.\" Thanks to Tomohiro KUBOTA for the following sections about
|
||||
|
@ -175,7 +175,7 @@ JIS X 0208 is a Japanese national standard character set.
|
|||
Though there are some more Japanese national standard character sets (like
|
||||
JIS X 0201, JIS X 0212, and JIS X 0213), this is the most important one.
|
||||
Characters are mapped into a 94x94 two-byte matrix,
|
||||
whose each byte is in the range 0x21-0x7e.
|
||||
whose each byte is in the range 0x21\(em0x7e.
|
||||
Note that JIS X 0208 is a character set, not an encoding.
|
||||
This means that JIS X 0208
|
||||
itself is not used for expressing text data.
|
||||
|
@ -212,8 +212,8 @@ character set for codes with high bit one (initially G1).
|
|||
Each graphic character set has 94 or 96 characters, and is
|
||||
essentially a 7-bit character set.
|
||||
It uses codes either
|
||||
040-0177 (041-0176) or 0240-0377 (0241-0376).
|
||||
G0 always has size 94 and uses codes 041-0176.
|
||||
040\(em0177 (041\(em0176) or 0240\(em0377 (0241\(em0376).
|
||||
G0 always has size 94 and uses codes 041\(em0176.
|
||||
.PP
|
||||
Switching between character sets is done using the shift functions
|
||||
\fB^N\fP (SO or LS1), \fB^O\fP (SI or LS0), ESC n (LS2), ESC o (LS3),
|
||||
|
@ -260,7 +260,7 @@ are equivalent to ESC \- xx, ESC . xx, ESC / xx, respectively.
|
|||
TIS-620 is a Thai national standard character set and a superset
|
||||
of ASCII.
|
||||
In the same fashion as the ISO 8859 series, Thai characters are mapped into
|
||||
0xa1-0xfe.
|
||||
0xa1\(em0xfe.
|
||||
.SS Unicode
|
||||
Unicode (ISO 10646) is a standard which aims to unambiguously represent
|
||||
every character in every human language.
|
||||
|
|
|
@ -379,9 +379,9 @@ as shown in the following example:
|
|||
.in +4n
|
||||
.EX
|
||||
Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff
|
||||
Cpus_allowed_list: 0-127
|
||||
Cpus_allowed_list: 0\-127
|
||||
Mems_allowed: ffffffff,ffffffff
|
||||
Mems_allowed_list: 0-63
|
||||
Mems_allowed_list: 0\-63
|
||||
.EE
|
||||
.RE
|
||||
.PP
|
||||
|
@ -888,8 +888,8 @@ Examples of the \fBMask Format\fR:
|
|||
00000001 # just bit 0 set
|
||||
40000000,00000000,00000000 # just bit 94 set
|
||||
00000001,00000000,00000000 # just bit 64 set
|
||||
000000ff,00000000 # bits 32-39 set
|
||||
00000000,000e3862 # 1,5,6,11-13,17-19 set
|
||||
000000ff,00000000 # bits 32\-39 set
|
||||
00000000,000e3862 # 1,5,6,11\-13,17\-19 set
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
|
@ -917,8 +917,8 @@ Examples of the \fBList Format\fR:
|
|||
.PP
|
||||
.in +4n
|
||||
.EX
|
||||
0-4,9 # bits 0, 1, 2, 3, 4, and 9 set
|
||||
0-2,7,12-14 # bits 0, 1, 2, 7, 12, 13, and 14 set
|
||||
0\-4,9 # bits 0, 1, 2, 3, 4, and 9 set
|
||||
0\-2,7,12\-14 # bits 0, 1, 2, 7, 12, 13, and 14 set
|
||||
.EE
|
||||
.in
|
||||
.\" ================== RULES ==================
|
||||
|
@ -1394,7 +1394,7 @@ and then attach the current shell to that cpuset.
|
|||
.RB "$" " cd /dev/cpuset"
|
||||
.RB "$" " mkdir Charlie"
|
||||
.RB "$" " cd Charlie"
|
||||
.RB "$" " /bin/echo 2-3 > cpuset.cpus"
|
||||
.RB "$" " /bin/echo 2\-3 > cpuset.cpus"
|
||||
.RB "$" " /bin/echo 1 > cpuset.mems"
|
||||
.RB "$" " /bin/echo $$ > tasks"
|
||||
# The current shell is now running in cpuset Charlie
|
||||
|
@ -1413,14 +1413,14 @@ perform the following steps.
|
|||
.IP 1) 4
|
||||
Let's say we want to move the job in cpuset
|
||||
.I alpha
|
||||
(CPUs 4-7 and memory nodes 2-3) to a new cpuset
|
||||
(CPUs 4\(en7 and memory nodes 2\(en3) to a new cpuset
|
||||
.I beta
|
||||
(CPUs 16-19 and memory nodes 8-9).
|
||||
(CPUs 16\(en19 and memory nodes 8\(en9).
|
||||
.IP 2)
|
||||
First create the new cpuset
|
||||
.IR beta .
|
||||
.IP 3)
|
||||
Then allow CPUs 16-19 and memory nodes 8-9 in
|
||||
Then allow CPUs 16\(en19 and memory nodes 8\(en9 in
|
||||
.IR beta .
|
||||
.IP 4)
|
||||
Then enable
|
||||
|
@ -1441,8 +1441,8 @@ The following sequence of commands accomplishes this.
|
|||
.RB "$" " cd /dev/cpuset"
|
||||
.RB "$" " mkdir beta"
|
||||
.RB "$" " cd beta"
|
||||
.RB "$" " /bin/echo 16-19 > cpuset.cpus"
|
||||
.RB "$" " /bin/echo 8-9 > cpuset.mems"
|
||||
.RB "$" " /bin/echo 16\-19 > cpuset.cpus"
|
||||
.RB "$" " /bin/echo 8\-9 > cpuset.mems"
|
||||
.RB "$" " /bin/echo 1 > cpuset.memory_migrate"
|
||||
.RB "$" " while read i; do /bin/echo $i; done < ../alpha/tasks > tasks"
|
||||
.EE
|
||||
|
@ -1452,8 +1452,8 @@ The above should move any processes in
|
|||
.I alpha
|
||||
to
|
||||
.IR beta ,
|
||||
and any memory held by these processes on memory nodes 2-3 to memory
|
||||
nodes 8-9, respectively.
|
||||
and any memory held by these processes on memory nodes 2\(en3 to memory
|
||||
nodes 8\(en9, respectively.
|
||||
.PP
|
||||
Notice that the last step of the above sequence did not do:
|
||||
.PP
|
||||
|
|
|
@ -117,8 +117,8 @@ names of the form
|
|||
(master) and
|
||||
.I /dev/ttyXY
|
||||
(slave),
|
||||
where X is a letter from the 16-character set [p-za-e],
|
||||
and Y is a letter from the 16-character set [0-9a-f].
|
||||
where X is a letter from the 16-character set [p\-za\-e],
|
||||
and Y is a letter from the 16-character set [0\-9a\-f].
|
||||
(The precise range of letters in these two sets varies across UNIX
|
||||
implementations.)
|
||||
For example,
|
||||
|
@ -138,10 +138,10 @@ for "pty" in the name of the master) can then be opened.
|
|||
.I /dev/pts/*
|
||||
(UNIX 98 slave devices)
|
||||
.br
|
||||
.I /dev/pty[p-za-e][0-9a-f]
|
||||
.I /dev/pty[p\-za\-e][0\-9a\-f]
|
||||
(BSD master devices)
|
||||
.br
|
||||
.I /dev/tty[p-za-e][0-9a-f]
|
||||
.I /dev/tty[p\-za\-e][0\-9a\-f]
|
||||
(BSD slave devices)
|
||||
.SH NOTES
|
||||
A description of the
|
||||
|
|
|
@ -64,10 +64,10 @@ Suffix File type
|
|||
.S assembler source with \fBcpp\fP(1) directives
|
||||
.Y file compressed using yabba
|
||||
.Z file compressed using \fBcompress\fP(1)
|
||||
.[0-9]+gf TeX generic font files
|
||||
.[0-9]+pk TeX packed font files
|
||||
.[1-9] manual page for the corresponding section
|
||||
.[1-9][a-z] manual page for section plus subsection
|
||||
.[0-\9]+gf TeX generic font files
|
||||
.[0\-9]+pk TeX packed font files
|
||||
.[1\-9] manual page for the corresponding section
|
||||
.[1\-9][a-z] manual page for section plus subsection
|
||||
.a static object code library
|
||||
.ad X application default resource file
|
||||
.ada Ada source (may be body, spec, or combination)
|
||||
|
@ -151,7 +151,7 @@ Suffix File type
|
|||
.image bitmap source
|
||||
.in configuration template, especially for GNU Autoconf
|
||||
.info files for the Emacs info browser
|
||||
.info-[0-9]+ split info files
|
||||
.info-[0\-9]+ split info files
|
||||
.ins LaTeX package install file for docstrip
|
||||
.itcl itcl source code;
|
||||
itcl ([incr Tcl]) is an OO extension of tcl
|
||||
|
|
|
@ -86,7 +86,7 @@ This option sets the sender checksum coverage and takes an
|
|||
as argument, with a checksum coverage value in the range 0..2^16-1.
|
||||
.IP
|
||||
A value of 0 means that the entire datagram is always covered.
|
||||
Values from 1-7 are illegal (RFC\ 3828, 3.1) and are rounded up to
|
||||
Values from 1\-7 are illegal (RFC\ 3828, 3.1) and are rounded up to
|
||||
the minimum coverage of 8.
|
||||
.IP
|
||||
With regard to IPv6 jumbograms (RFC\ 2675), the UDP-Litev6 checksum
|
||||
|
|
|
@ -300,7 +300,7 @@ not explicitly bound to an address,
|
|||
then the socket is autobound to an abstract address.
|
||||
The address consists of a null byte
|
||||
followed by 5 bytes in the character set
|
||||
.IR [0-9a-f] .
|
||||
.IR [0\-9a\-f] .
|
||||
Thus, there is a limit of 2^20 autobind addresses.
|
||||
(From Linux 2.1.15, when the autobind feature was added,
|
||||
8 bytes were used, and the limit was thus 2^32 autobind addresses.
|
||||
|
|
Loading…
Reference in New Issue