-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from rst0git/man-pages
docs: Add man pages for checkpointctl
- Loading branch information
Showing
13 changed files
with
228 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
VERSION_MAJOR := 0 | ||
VERSION_MINOR := 1 | ||
VERSION_SUBLEVEL := 0 | ||
VERSION_EXTRA := | ||
VERSION := $(VERSION_MAJOR)$(if $(VERSION_MINOR),.$(VERSION_MINOR))$(if $(VERSION_SUBLEVEL),.$(VERSION_SUBLEVEL))$(if $(VERSION_EXTRA),.$(VERSION_EXTRA)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.txt whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.[1-8] | ||
footer.adoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
PREFIX ?= /usr/local | ||
MANDIR ?= $(PREFIX)/share/man | ||
|
||
ASCIIDOC := asciidoctor | ||
|
||
FOOTER := footer.adoc | ||
|
||
SRC1 += checkpointctl-inspect.adoc | ||
SRC1 += checkpointctl-memparse.adoc | ||
SRC1 += checkpointctl-show.adoc | ||
SRC1 += checkpointctl.adoc | ||
SRC := $(SRC1) | ||
|
||
MAN1S := $(patsubst %.adoc,%.1,$(SRC1)) | ||
MANS := $(MAN1S) | ||
MAN1DIR := $(MANDIR)/man1 | ||
|
||
all: check $(MANS) | ||
|
||
check: | ||
@$(ASCIIDOC) --version > /dev/null || exit 1 | ||
|
||
include ../Makefile.versions | ||
$(FOOTER): | ||
$(call msg-gen, $@) | ||
@echo "The CRIU team" > $@ | ||
@echo "v$(VERSION)" >> $@ | ||
@echo ":doctype: manpage" >> $@ | ||
@echo ":mansource: checkpointctl" >> $@ | ||
@echo ":manversion: $(VERSION)" >> $@ | ||
@echo ":manmanual: CHECKPOINTCTL Manual" >> $@ | ||
|
||
%.1: %.adoc $(FOOTER) custom.xsl | ||
$(call msg-gen, $@) | ||
@$(ASCIIDOC) -b manpage -d manpage -o $@ $< | ||
|
||
clean: | ||
@rm -f $(MANS) $(FOOTER) | ||
|
||
install: check $(MANS) | ||
@echo " INSTALL " $(MAN1S) | ||
@mkdir -p $(DESTDIR)$(MAN1DIR) | ||
@install -m 644 $(MAN1S) $(DESTDIR)$(MAN1DIR) | ||
|
||
uninstall: | ||
@echo " UNINSTALL" $(MAN1S) | ||
@rm -rf $(addprefix $(DESTDIR)$(MAN1DIR)/,$(MAN1S)) | ||
|
||
.PHONY: all check clean install uninstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
= checkpointctl-inspect(1) | ||
include::footer.adoc[] | ||
|
||
== Name | ||
|
||
*checkpointctl-inspect* - display low-level information about a container checkpoint | ||
|
||
== Synopsis | ||
|
||
*checkpointctl inspect* [_OPTION_]... _FILE_ | ||
|
||
== Options | ||
|
||
*-h*, *--help*:: | ||
Show help for checkpointctl memparse | ||
|
||
*--all*:: | ||
Show all information about container checkpoints | ||
|
||
*--files*:: | ||
Display the open file descriptors for processes in the container checkpoint | ||
|
||
*--format*=_FORMAT_:: | ||
Specify the output format: tree or json (default "tree") | ||
|
||
*--mounts*:: | ||
Display an overview of mounts used in the container checkpoint | ||
|
||
*-p, --pid*=_PID_:: | ||
Display the process tree of a specific PID | ||
|
||
*--ps-tree*:: | ||
Display an overview of processes in the container checkpoint | ||
|
||
*--ps-tree-cmd*:: | ||
Display an overview of processes in the container checkpoint with full command line arguments | ||
|
||
*--ps-tree-env*:: | ||
Display an overview of processes in the container checkpoint with their environment variables | ||
|
||
*--sockets*:: | ||
Display the open sockets for processes in the container checkpoint | ||
|
||
*--stats*:: | ||
Display checkpoint statistics | ||
|
||
== See also | ||
|
||
checkpointctl(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
= checkpointctl-memparse(1) | ||
include::footer.adoc[] | ||
|
||
== Name | ||
|
||
*checkpointctl-memparse* - analyze container checkpoint memory | ||
|
||
== Synopsis | ||
|
||
*checkpointctl memparse* [_OPTION_]... _FILE_ | ||
|
||
== Options | ||
|
||
*-h*, *--help*:: | ||
Show help for checkpointctl memparse | ||
|
||
*-o, --output*=_FILE_:: | ||
Specify the output file to be written to | ||
|
||
*-p, --pid*=_PID_:: | ||
Specify the PID of a process to analyze | ||
|
||
== See also | ||
|
||
checkpointctl(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
= checkpointctl-show(1) | ||
include::footer.adoc[] | ||
|
||
== Name | ||
|
||
*checkpointctl-show* - show an overview of container checkpoints | ||
|
||
== Synopsis | ||
|
||
*checkpointctl show* [_OPTION_]... _FILE_... | ||
|
||
== Options | ||
|
||
*-h*, *--help*:: | ||
Show help for checkpointctl show | ||
|
||
== See also | ||
|
||
checkpointctl(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
= checkpointctl(1) | ||
include::footer.adoc[] | ||
|
||
== Name | ||
|
||
checkpointctl - a tool for advanced analysis of container checkpoints | ||
|
||
== Synopsis | ||
|
||
*checkpointctl* _COMMAND_ [_OPTION_]... | ||
|
||
== Description | ||
|
||
*checkpointctl* is a tool for advanced analysis of container checkpoints | ||
created by Podman, CRI-O, and Kubernetes. It allows users to get an overview | ||
of the checkpoint metadata, inspect the run-time state of processes in the | ||
container, and perform in-depth analysis of checkpoint memory. | ||
|
||
== Options | ||
|
||
*-h, --help*:: | ||
Show help for checkpointctl | ||
|
||
*-v, --version*:: | ||
Show version of checkpointctl | ||
|
||
== COMMANDS | ||
|
||
[cols="1,1"] | ||
|=== | ||
|Command |Description | ||
|
||
|checkpointctl-completion | ||
|Generate shell completion scripts | ||
|
||
|checkpointctl-inspect(1) | ||
|Display low-level information about a container checkpoint | ||
|
||
|checkpointctl-memparse(1) | ||
|Analyze container checkpoint memory | ||
|
||
|checkpointctl-show(1) | ||
|Show an overview of container checkpoints | ||
|=== | ||
|
||
|
||
== SEE ALSO | ||
|
||
checkpointctl-inspect(1), checkpointctl-memparse(1), checkpointctl-show(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="man.hyphenate">1</xsl:param> | ||
<xsl:param name="man.justify">1</xsl:param> | ||
<xsl:param name="man.output.better.ps.enabled">1</xsl:param> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters