diff --git a/man3/getauxval.3 b/man3/getauxval.3 index d5ecc7c8c..b6d538b00 100644 --- a/man3/getauxval.3 +++ b/man3/getauxval.3 @@ -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 ; diff --git a/man4/cciss.4 b/man4/cciss.4 index 990c6c7d8..9234a3ac0 100644 --- a/man4/cciss.4 +++ b/man4/cciss.4 @@ -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//ccissX/cXdY/model diff --git a/man4/cpuid.4 b/man4/cpuid.4 index 2504c938f..c6a1acd8e 100644 --- a/man4/cpuid.4 +++ b/man4/cpuid.4 @@ -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. diff --git a/man4/msr.4 b/man4/msr.4 index f97df8959..07fdac123 100644 --- a/man4/msr.4 +++ b/man4/msr.4 @@ -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, diff --git a/man5/proc.5 b/man5/proc.5 index d6032e185..92b8393b6 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -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 diff --git a/man5/tmpfs.5 b/man5/tmpfs.5 index 7063cde01..43ccb4410 100644 --- a/man5/tmpfs.5 +++ b/man5/tmpfs.5 @@ -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: diff --git a/man7/man-pages.7 b/man7/man-pages.7 index f29a4e5ac..aafb5785c 100644 --- a/man7/man-pages.7 +++ b/man7/man-pages.7 @@ -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, diff --git a/man7/pid_namespaces.7 b/man7/pid_namespaces.7 index cbb03233b..3458a8021 100644 --- a/man7/pid_namespaces.7 +++ b/man7/pid_namespaces.7 @@ -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 diff --git a/man8/ld.so.8 b/man8/ld.so.8 index ead24e9b2..2063f7cc1 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -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 diff --git a/man8/nscd.8 b/man8/nscd.8 index 708145090..f52defe49 100644 --- a/man8/nscd.8 +++ b/man8/nscd.8 @@ -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\fP +.PP +.in +4n +.EX +$ \fBnscd -i\fP \fI\fP +.EE +.in .SH SEE ALSO .BR nscd.conf (5), .BR nsswitch.conf (5)