summaryrefslogtreecommitdiffhomepage
path: root/docs/busybox.sgml
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-12-19 11:32:14 +0000
committerEric Andersen <andersen@codepoet.org>2003-12-19 11:32:14 +0000
commitd4a5e255c479647d172c9d7d7f61049277b7c0b9 (patch)
tree7931e79c7b1cc3c4d8804c39da6dc6cf9fb667ab /docs/busybox.sgml
parent3752d337b3b8e704f1fe27451d481eae85d64f48 (diff)
Patch from Fillod Stephane:
You will find in the attached file "syslog.patch" a patch which adds config options to set at compile time the size of the circular buffer, and some documentation update.
Diffstat (limited to 'docs/busybox.sgml')
-rw-r--r--docs/busybox.sgml34
1 files changed, 33 insertions, 1 deletions
diff --git a/docs/busybox.sgml b/docs/busybox.sgml
index 1d2e9268a..ac400c7c8 100644
--- a/docs/busybox.sgml
+++ b/docs/busybox.sgml
@@ -1976,6 +1976,38 @@
</para>
</sect1>
+ <sect1 id="logread">
+ <title>logread</title>
+
+ <para>
+ Usage: logread [OPTION]...
+ </para>
+
+ <para>
+ Shows the messages from syslogd (using circular buffer).
+ </para>
+
+ <para>
+ Options:
+ </para>
+
+ <para>
+ <screen>
+ -f Output data as the log grows.
+ </screen>
+ </para>
+
+ <para>
+ Example:
+ </para>
+
+ <para>
+ <screen>
+ $ logread
+ </screen>
+ </para>
+ </sect1>
+
<sect1 id="ls">
<title>ls</title>
@@ -3110,7 +3142,7 @@
-O FILE Use an alternate log file (default=/var/log/messages)
-R HOST[:PORT] Log remotely to IP or hostname on PORT (default PORT=514/UDP)
-L Log locally as well as network logging (default is network only)
- -C Log to a circular buffer. Read this buffer using 'logread'
+ -C [size(KiB)] Log to a circular buffer. Read this buffer using 'logread'
</screen>
</para>