mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
man: fix man-pages
The man-pages are using pre-formatted section to display the options for
all commands. The result on my system never looked correct:
OPTIONS
--bundle value, -b value path to the root [...]
--console-socket value path to an AF_UNIX [...]
The first line was always indented less than the other lines.
This commit makes the option block a pre-formatted block (as intended???) by
using 4 spaces instead of 3 spaces.
In addition the man-pages did not specify their name and section
correctly. This adds something like '% runc-run "8"' to all man-pages to
have correct title 'runc-run(8)' instead of 'NAME()' and it also adds
the section to the title: 'System Manager's Manual'.
This also fixes the use of '>' and '<' at multiple places. The markdown
source files were using "<container-id>" and similar which was (most of
the time) rendered as '""'. On some systems it was rendered correctly.
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
committed by
Adrian Reber
parent
2e94378464
commit
1712af0e80
+20
-18
@@ -1,8 +1,10 @@
|
||||
% runc-update "8"
|
||||
|
||||
# NAME
|
||||
runc update - update container resource constraints
|
||||
|
||||
# SYNOPSIS
|
||||
runc update [command options] <container-id>
|
||||
runc update [command options] `<container-id>`
|
||||
|
||||
# DESCRIPTION
|
||||
The data can be read from a file or the standard input, the
|
||||
@@ -34,20 +36,20 @@ Note: if data is to be read from a file or the standard input, all
|
||||
other options are ignored.
|
||||
|
||||
# OPTIONS
|
||||
--resources value, -r value path to the file containing the resources to update or '-' to read from the standard input
|
||||
--blkio-weight value Specifies per cgroup weight, range is from 10 to 1000 (default: 0)
|
||||
--cpu-period value CPU CFS period to be used for hardcapping (in usecs). 0 to use system default
|
||||
--cpu-quota value CPU CFS hardcap limit (in usecs). Allowed cpu time in a given period
|
||||
--cpu-rt-period value CPU realtime period to be used for hardcapping (in usecs). 0 to use system default
|
||||
--cpu-rt-runtime value CPU realtime hardcap limit (in usecs). Allowed cpu time in a given period
|
||||
--cpu-share value CPU shares (relative weight vs. other containers)
|
||||
--cpuset-cpus value CPU(s) to use
|
||||
--cpuset-mems value Memory node(s) to use
|
||||
--kernel-memory value Kernel memory limit (in bytes)
|
||||
--kernel-memory-tcp value Kernel memory limit (in bytes) for tcp buffer
|
||||
--memory value Memory limit (in bytes)
|
||||
--memory-reservation value Memory reservation or soft_limit (in bytes)
|
||||
--memory-swap value Total memory usage (memory + swap); set '-1' to enable unlimited swap
|
||||
--pids-limit value Maximum number of pids allowed in the container (default: 0)
|
||||
--l3-cache-schema The string of Intel RDT/CAT L3 cache schema
|
||||
--mem-bw-schema The string of Intel RDT/MBA memory bandwidth schema
|
||||
--resources value, -r value path to the file containing the resources to update or '-' to read from the standard input
|
||||
--blkio-weight value Specifies per cgroup weight, range is from 10 to 1000 (default: 0)
|
||||
--cpu-period value CPU CFS period to be used for hardcapping (in usecs). 0 to use system default
|
||||
--cpu-quota value CPU CFS hardcap limit (in usecs). Allowed cpu time in a given period
|
||||
--cpu-rt-period value CPU realtime period to be used for hardcapping (in usecs). 0 to use system default
|
||||
--cpu-rt-runtime value CPU realtime hardcap limit (in usecs). Allowed cpu time in a given period
|
||||
--cpu-share value CPU shares (relative weight vs. other containers)
|
||||
--cpuset-cpus value CPU(s) to use
|
||||
--cpuset-mems value Memory node(s) to use
|
||||
--kernel-memory value Kernel memory limit (in bytes)
|
||||
--kernel-memory-tcp value Kernel memory limit (in bytes) for tcp buffer
|
||||
--memory value Memory limit (in bytes)
|
||||
--memory-reservation value Memory reservation or soft_limit (in bytes)
|
||||
--memory-swap value Total memory usage (memory + swap); set '-1' to enable unlimited swap
|
||||
--pids-limit value Maximum number of pids allowed in the container (default: 0)
|
||||
--l3-cache-schema The string of Intel RDT/CAT L3 cache schema
|
||||
--mem-bw-schema The string of Intel RDT/MBA memory bandwidth schema
|
||||
|
||||
Reference in New Issue
Block a user