getauxval.3, cciss.4, cpuid.4, msr.4, proc.5, tmpfs.5, man-pages.7, pid_namespaces.7, ld.so.8, nscd.8: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-08-15 16:15:21 +02:00
parent e6154a82de
commit 019d9ee872
10 changed files with 100 additions and 54 deletions

View File

@ -225,9 +225,13 @@ environment in the process address space.
The auxiliary vector supplied to a program can be viewed by setting the
.B LD_SHOW_AUXV
environment variable when running a program:
$ LD_SHOW_AUXV=1 sleep 1
.PP
.in +4n
.EX
$ LD_SHOW_AUXV=1 sleep 1
.EE
.in
.PP
The auxiliary vector of any process can (subject to file permissions)
be obtained via
.IR /proc/[pid]/auxv ;

View File

@ -129,29 +129,32 @@ The files
contain information about
the configuration of each controller.
For example:
.nf
.PP
.in +4n
.EX
$ \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
$ \fBcat cciss2\fP
cciss2: HP Smart Array P800 Controller
Board ID: 0x3223103c
Firmware Version: 7.14
IRQ: 16
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 1
Max # commands on controller since init: 2
Max SG entries since init: 32
Sequential access devices: 0
$ \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
$ \fBcat cciss2\fP
cciss2: HP Smart Array P800 Controller
Board ID: 0x3223103c
Firmware Version: 7.14
IRQ: 16
Logical drives: 1
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 1
Max # commands on controller since init: 2
Max SG entries since init: 32
Sequential access devices: 0
cciss/c2d0: 36.38GB RAID 0
.fi
cciss/c2d0: 36.38GB RAID 0
.EE
.in
.\"
.SS Files in /sys
.TP
.I /sys/bus/pci/devices/<dev>/ccissX/cXdY/model

View File

@ -79,9 +79,13 @@ The
driver is not auto-loaded.
On modular kernels you might need to use the following command
to load it explicitly before use:
$ \fImodprobe cpuid\fP
.PP
.in +4n
.EX
$ \fImodprobe cpuid\fP
.EE
.in
.PP
There is no support for CPUID functions that require additional
input registers.

View File

@ -50,8 +50,13 @@ The
driver is not auto-loaded.
On modular kernels you might need to use the following command
to load it explicitly before use:
$ \fImodprobe msr\fP
.PP
.in +4n
.EX
$ \fImodprobe msr\fP
.EE
.in
.PP
.SH SEE ALSO
Intel Corporation Intel 64 and IA-32 Architectures
Software Developer's Manual Volume 3B Appendix B,

View File

@ -5328,16 +5328,29 @@ sampled information.
The timer_stats functionality is inactive on bootup.
A sampling period can be started using the following command:
# echo 1 > /proc/timer_stats
.IP
.in +4n
.EX
# echo 1 > /proc/timer_stats
.EE
.in
.IP
The following command stops a sampling period:
# echo 0 > /proc/timer_stats
.IP
.in +4n
.EX
# echo 0 > /proc/timer_stats
.EE
.in
.IP
The statistics can be retrieved by:
$ cat /proc/timer_stats
.IP
.in +4n
.EX
$ cat /proc/timer_stats
.EE
.in
.IP
While sampling is enabled, each readout from
.I /proc/timer_stats
will see

View File

@ -37,9 +37,13 @@ The filesystem is automatically created when mounting
a filesystem with the type
.BR tmpfs
via a command such as the following:
$ sudo mount \-t tmpfs -o size=10M tmpfs /mnt/mytmpfs
.PP
.in +4n
.EX
$ sudo mount \-t tmpfs -o size=10M tmpfs /mnt/mytmpfs
.EE
.in
.PP
A
.B tmpfs
filesystem has the following properties:

View File

@ -571,13 +571,14 @@ Again, the use of nonbreaking spaces may be appropriate
if the expression is inlined with normal text.
When showing example shell sessions, user input should be formatted in bold, for example
.nf
.PP
.in +4n
$ \fBdate\fP
Thu Jul 7 13:01:27 CEST 2016
.EX
$ \fBdate\fP
Thu Jul 7 13:01:27 CEST 2016
.EE
.in
.fi
.PP
.PP
Any reference to another man page
should be written with the name in bold,

View File

@ -312,9 +312,13 @@ a new procfs instance can be mounted directly over
From a shell, the command to mount
.I /proc
is:
$ mount -t proc proc /proc
.PP
.in +4n
.EX
$ mount -t proc proc /proc
.EE
.in
.PP
Calling
.BR readlink (2)
on the path

View File

@ -294,9 +294,13 @@ the following would cause a library to be searched for in either the
or
.I lib64
subdirectory below the directory containing the program to be executed:
$ \fBLD_LIBRARY_PATH='$ORIGIN/$LIB' prog\fP
.IP
.in +4n
.EX
$ \fBLD_LIBRARY_PATH='$ORIGIN/$LIB' prog\fP
.EE
.in
.IP
(Note the use of single quotes, which prevent expansion of
.I $ORIGIN
and

View File

@ -84,8 +84,12 @@ In that case, you need to run the following command
after changing the configuration file of the database so that
.B nscd
invalidates its cache:
$ \fBnscd -i\fP \fI<database>\fP
.PP
.in +4n
.EX
$ \fBnscd -i\fP \fI<database>\fP
.EE
.in
.SH SEE ALSO
.BR nscd.conf (5),
.BR nsswitch.conf (5)