X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd-cat.xml;h=e5a867be2262f0fcc1ad2d9eadbf949a1567bcff;hp=cac275b453df3762d5742e7d5a9bcaf239fbbdec;hb=a2e0337875addaf08225fbf9b231435ba12a88b5;hpb=16dad32e437fdf2ffca03cc60a083d84bd31886f diff --git a/man/systemd-cat.xml b/man/systemd-cat.xml index cac275b45..e5a867be2 100644 --- a/man/systemd-cat.xml +++ b/man/systemd-cat.xml @@ -21,7 +21,8 @@ along with systemd; If not, see . --> - + systemd-cat @@ -60,18 +61,18 @@ Description systemd-cat may be used to - connect STDOUT and STDERR of a process with the + connect the standard input and output of a process to the journal, or as a filter tool in a shell pipeline to pass the output the previous pipeline element generates to the journal. - If no parameter is passed + If no parameter is passed, systemd-cat will write - everything it reads from standard input (STDIN) to the journal. + everything it reads from standard input (stdin) to the journal. - If parameters are passed they are executed as - command line with standard output (STDOUT) and standard - error output (STDERR) connected to the journal, so + If parameters are passed, they are executed as + command line with standard output (stdout) and standard + error output (stderr) connected to the journal, so that all it writes is stored in the journal. @@ -81,20 +82,8 @@ The following options are understood: - - - - - Prints a short help - text and exits. - - - - - - Prints a short version - string and exits. - + + @@ -102,7 +91,7 @@ Specify a short string that is used to identify the logging - tool. If not specified no identifying + tool. If not specified, no identification string is written to the journal. @@ -125,7 +114,7 @@ to the same named levels). These priority values are the same as defined by - syslog3. Defaults + syslog3. Defaults to info. Note that this simply controls the default, individual lines may be logged with @@ -141,7 +130,7 @@ Controls whether lines read are parsed for syslog priority level prefixes. If enabled (the - default) a line prefixed with a + default), a line prefixed with a priority prefix such as <5> is logged at priority 5 @@ -158,7 +147,7 @@ Exit status - On success 0 is returned, a non-zero failure + On success, 0 is returned, a non-zero failure code otherwise. @@ -168,8 +157,8 @@ Invoke a program - This calls /bin/ls - with STDOUT/STDERR connected to the + This calls /bin/ls + with standard output and error connected to the journal: # systemd-cat ls @@ -188,8 +177,8 @@ Even though the two examples have very similar effects the first is preferable since only one process - is running at a time, and both STDOUT and STDERR are - captured while in the second example only STDOUT is + is running at a time, and both stdout and stderr are + captured while in the second example, only stdout is captured.