[lwatch-cvs] files/doc lwatch.1,1.2,1.3 lwatch.sgml,1.3,1.4
Brought to you by:
arturcz
|
From: <ar...@us...> - 2002-09-08 12:17:48
|
Update of /cvsroot/lwatch/files/doc
In directory usw-pr-cvs1:/tmp/cvs-serv7472
Modified Files:
lwatch.1 lwatch.sgml
Log Message:
Language correct, some information added.
Index: lwatch.1
===================================================================
RCS file: /cvsroot/lwatch/files/doc/lwatch.1,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** lwatch.1 8 Sep 2002 00:44:29 -0000 1.2
--- lwatch.1 8 Sep 2002 12:17:42 -0000 1.3
***************
*** 56,60 ****
.TH "lwatch" "1"
.SH "NAME"
! lwatch \(em syntax highlighting for syslog/syslog-ng file
.SH "SYNOPSIS"
.PP
--- 56,60 ----
.TH "lwatch" "1"
.SH "NAME"
! \fBlwatch\fR \(em syntax highlighting for syslog/syslog-ng file
.SH "SYNOPSIS"
.PP
***************
*** 70,74 ****
\fB-C\fP
.PP
! Its working (jego dzia³anie) is very simple. It reads a line from input, split it
into four parts: date, hostname, service name (with PID, if available)
and real message. Each part has own default color. You can redefine them
--- 70,74 ----
\fB-C\fP
.PP
! The way it works is simple. It reads a line from input, split it
into four parts: date, hostname, service name (with PID, if available)
and real message. Each part has own default color. You can redefine them
***************
*** 88,95 ****
.PP
Type lwatch -h for options and its description.
-
- .SH "Environment"
- .PP
- The lwatch does not use any VARIABLES
.SH "Running"
.PP
--- 88,91 ----
***************
*** 97,109 ****
.PP
If you use syslog you really want to read messages from named fifo.
! To do it put a line: *.* |/tmp/your_fifo in your syslog.conf.
! Create apropriate fifo and restart syslog, then run lwatch.
! You can also run lwatch before starting syslog, but remember: fifo must exists.
.PP
In syslog-ng you can run lwatch directly from syslog, i.e.:
.PP
log { source(src); destination(console_all);};
- .PP
destination console_all {program("/usr/bin/lwatch -f- > /dev/tty11"); };
.SH "Copyright"
.PP
--- 93,122 ----
.PP
If you use syslog you really want to read messages from named fifo.
! To do it put a line:
!
! .PP
! .nf
! .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
! *.* |/tmp/your_fifo
!
! .fi
! in your syslog.conf. Create apropriate fifo and restart syslog, then run
! lwatch. You can also run lwatch before starting syslog, but remember:
!
! .IP " \(bu" 6
! fifo must exists
! .IP " \(bu" 6
! proper name must be put in /etc/lwatch.conf
.PP
In syslog-ng you can run lwatch directly from syslog, i.e.:
+
.PP
+ .nf
+ .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
log { source(src); destination(console_all);};
destination console_all {program("/usr/bin/lwatch -f- > /dev/tty11"); };
+
+ .fi
+
.SH "Copyright"
.PP
***************
*** 113,115 ****
option) any later version.
! ...\" created by instant / docbook-to-man, Sun 08 Sep 2002, 02:38
--- 126,128 ----
option) any later version.
! ...\" created by instant / docbook-to-man, Sun 08 Sep 2002, 14:03
Index: lwatch.sgml
===================================================================
RCS file: /cvsroot/lwatch/files/doc/lwatch.sgml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** lwatch.sgml 8 Sep 2002 00:44:29 -0000 1.3
--- lwatch.sgml 8 Sep 2002 12:17:42 -0000 1.4
***************
*** 44,56 ****
--- 44,61 ----
<date>2002-07-09</date>
</refentryinfo>
+
<refmeta>
<refentrytitle>lwatch</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
+
<refnamediv>
+ <refdescriptor>lwatch</refdescriptor>
<refname>lwatch</refname>
<refpurpose>syntax highlighting for syslog/syslog-ng file</refpurpose>
</refnamediv>
+
<refsynopsisdiv>
+ <!-- <title>Synopsis</title> -->
<cmdsynopsis>
<command>lwatch</command>
***************
*** 65,68 ****
--- 70,74 ----
</cmdsynopsis>
</refsynopsisdiv>
+
<refsect1>
<title>Description</title>
***************
*** 76,80 ****
<option>-C</option></para>
! <para>Its working (jego dzia³anie) is very simple. It reads a line from input, split it
into four parts: date, hostname, service name (with PID, if available)
and real message. Each part has own default color. You can redefine them
--- 82,86 ----
<option>-C</option></para>
! <para>The way it works is simple. It reads a line from input, split it
into four parts: date, hostname, service name (with PID, if available)
and real message. Each part has own default color. You can redefine them
***************
*** 98,103 ****
<title>Command line options</title>
<para>
! Type lwatch -h for options and its description.
! </para>
</refsect1>
--- 104,108 ----
<title>Command line options</title>
<para>
! Type lwatch -h for options and its description.</para>
</refsect1>
***************
*** 113,122 ****
<para>Preferred way to run lwatch is reading syslog messages from named fifo or from standard input.</para>
<para>If you use syslog you really want to read messages from named fifo.
! To do it put a line: *.* |/tmp/your_fifo in your syslog.conf.
! Create apropriate fifo and restart syslog, then run lwatch.
! You can also run lwatch before starting syslog, but remember: fifo must exists.</para>
! <para>In syslog-ng you can run lwatch directly from syslog, i.e.:</para>
! <para>log { source(src); destination(console_all);};</para>
! <para>destination console_all {program("/usr/bin/lwatch -f- > /dev/tty11"); };</para>
</refsect1>
--- 118,138 ----
<para>Preferred way to run lwatch is reading syslog messages from named fifo or from standard input.</para>
<para>If you use syslog you really want to read messages from named fifo.
! To do it put a line:
! <literallayout>
! *.* |/tmp/your_fifo
! </literallayout>
! in your syslog.conf. Create apropriate fifo and restart syslog, then run
! lwatch. You can also run lwatch before starting syslog, but remember:
! <itemizedlist mark="dash" spacing="compact">
! <listitem><para>fifo must exists</para></listitem>
! <listitem><para>proper name must be put in &conf;</para></listitem>
! </itemizedlist>
! </para>
! <para>In syslog-ng you can run lwatch directly from syslog, i.e.:
! <literallayout>
! log { source(src); destination(console_all);};
! destination console_all {program("/usr/bin/lwatch -f- > /dev/tty11"); };
! </literallayout>
! </para>
</refsect1>
|