From: Lennart Poettering Date: Fri, 16 Mar 2012 00:00:23 +0000 (+0100) Subject: man: document journal features of systemctl(1) X-Git-Tag: v44~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c3246b1a6bbe8c44210f7a73f0e030dcb21f7bb;p=systemd man: document journal features of systemctl(1) --- diff --git a/TODO b/TODO index 2f5e6431..e200c902 100644 --- a/TODO +++ b/TODO @@ -82,10 +82,6 @@ Features: * add interface to allow immediate rotation of the journal, and even flushing. -* don't log coredumps of PID 1 into the journal - -* if a journal file is corrupt, rotate it and create a new one - * dbus: in fedora, make the machine a symlink to /etc/machine-id * journald: reuse XZ context @@ -94,8 +90,6 @@ Features: * write RPM spec macros for presets -* write man pages for systemd-cat - * journal: write man pages for API * journal: OR matches are borked diff --git a/man/systemctl.xml b/man/systemctl.xml index 3266333b..c467ed8b 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -414,6 +414,45 @@ PolicyKit before executing the operation. + + + + + + When used with + status controls the + number of journal lines to show, + counting from the most recent + ones. Takes a positive integer + argument. Defaults to + 10. + + + + + + + When used with + status continously + prints new journal entries as they are + appended to the + journal. + + + + + + + When used with + status controls the + formatting of the journal entries that + are shown. For the available choices + see + systemd-journalctl1. Defaults + to + short. + + The following commands are understood: @@ -558,14 +597,15 @@ Show terse runtime status information about one or more - units. This function is intended to - generate human-readable output. If you - are looking for computer-parsable - output, use show - instead. If a PID is passed - information about the unit the process - of the PID belongs to is - shown. + units, followed by its most recent log + data from the journal. This function + is intended to generate human-readable + output. If you are looking for + computer-parsable output, use + show instead. If a + PID is passed information about the + unit the process of the PID belongs to + is shown. show [NAME...|JOB...] @@ -1139,6 +1179,7 @@ systemd1, systemadm1, + systemd-journalctl1, systemd-loginctl1, systemd.unit5, systemd.special7, diff --git a/man/systemd-journalctl.xml b/man/systemd-journalctl.xml index ff3bb3d0..1441ecac 100644 --- a/man/systemd-journalctl.xml +++ b/man/systemd-journalctl.xml @@ -125,9 +125,9 @@ Show only most recent - entries, and continously print new - entries as they are appended to the - journal. + journal entries, and continously print + new entries as they are appended to + the journal. @@ -157,7 +157,7 @@ Controls the - formatting of the entries that are + formatting of the journal entries that are shown. Takes one of short, short-monotonic,