update documentation

This commit is contained in:
marschap
2006-05-01 07:35:49 +00:00
parent b45c84b07e
commit fa7fa46594
2 changed files with 51 additions and 33 deletions
+43 -29
View File
@@ -27,7 +27,8 @@ There are several reasons for running LCDd from the command line
<para> <para>
If you run LCDd as a "normal" user, it will not change to the user If you run LCDd as a "normal" user, it will not change to the user
specified in the config file. specified in the config file.
For parallel port devices you will need root privileges anyway ;) For some devices, mostly parallel port devices but also some USB devices,
you will need root privileges anyway ;)
</para> </para>
</note> </note>
@@ -53,28 +54,24 @@ command line options, including a list of the compiled in drivers.
<example> <example>
<title><command>LCDd -h</command></title> <title><command>LCDd -h</command></title>
<screen> <![CDATA[ <screen> <![CDATA[
LCDd Server Daemon (part of lcdproc), 0.4.3dev
Copyright (c) 1999 Scott Scriven, William Ferrell, and misc contributors
This program is freely redistributable under the terms of the GNU Public License
Usage: LCDd [ -hfiws ] [ -c <config> ] [ -d <driver> ] [ -a <addr> ] \
[ -p <port> ] [ -u <user> ] [ -w <time> ] [ -r <level> ]
Available options are: LCDd: LCDproc Server Daemon, 0.5dev
Copyright (c) 1999-2006 Scott Scriven, William Ferrell, and misc contributors
This program is freely redistributable under the terms of the GNU Public License
Usage: LCDd [<options>]
where <options> are:
-h Display this help screen -h Display this help screen
-c <config> Use a configuration file other than /etc/LCDd.conf -c <config> Use a configuration file other than /etc/LCDd.conf
-d <driver> Add a driver to use (output only to first) -d <driver> Add a driver to use (overrides drivers in config file) [curses]
-f Run in the foreground -f <bool> Whether to run in the foreground
-i Disable showing of the main LCDproc server screen -a <addr> Network (IP) address to bind to [127.0.0.1]
-w <waittime> Time to pause at each screen (in seconds) -p <port> Network port to listen for connections on [13666]
-a <addr> Network (IP) address to bind to -u <user> User to run as [nobody]
-p <port> Network port to listen for connections on -w <waittime> Time to pause at each screen (in seconds) [32]
-u <user> User to run as -s <bool> If set, reporting will be done using syslog
-s Output messages to syslog -r <level> Report level [2]
-r <level> Report level (default=2) -i <bool> Whether to rotate the server info screen
Currently available drivers:
lcdm001, LCDM001, MtxOrb, MatrixOrbital, CFontz, CrystalFontz, LB216, text,
curses, ncurses, BayRAD, glk, glc, IOWarrior, glcdlib, imon
]]> ]]>
@@ -105,17 +102,34 @@ command line options.
<title><command>lcdproc -h</command></title> <title><command>lcdproc -h</command></title>
<screen> <![CDATA[ <screen> <![CDATA[
LCDproc, 0.4.3dev Usage: lcdproc [<options>] [<modes> ...]
Usage: lcdproc [-s server] [-p port] [modelist] where <options> are
Options in []'s are optional. -s <host> connect to LCDd daemon on <host>
modelist is "mode [mode mode ...]" -p <port> connect to LCDd daemon using <port>
Mode letters: [C]pu [G]raph [T]ime [M]emory [X]load [D]isk [B]attery -f run in foreground
proc_[S]izes [O]ld_time big_cloc[K] [U]ptime CPU_SM[P] -e <delay> slow down initial announcement of modes (in 1/100s)
[A]bout -c <config> use a configuration file other than /etc/lcdproc.conf
-h show this help screen
-v display program version
and <modes> are
C CPU detailed CPU usage
P SMP-CPU CPU usage overview (one line per CPU)
G CPUGraph CPU usage histogram
L Load load histogram
M Memory memory & swap usage
S ProcSize biggest processes size
D Disk disk usage
I Iface network interface usage
B Battery battery status
T TimeDate time & date information
O OldTime old time screen
U Uptime uptime screen
K BigClock big clock
N MiniClock minimal clock
A About credits page
Use "man lcdproc" for more info.
Example: Example:
lcdproc -s my.lcdproc.server.com C M X -p 13666 lcdproc -s my.lcdproc.server.com -p 13666 C M X
]]> ]]>
</screen> </screen>
+5 -1
View File
@@ -33,6 +33,7 @@ Show help screen.
.B \-v .B \-v
Print the version of the program and exit. Print the version of the program and exit.
.TP 8 .TP 8
.B \fImode\fP .B \fImode\fP
is one of the following: is one of the following:
.TP 16 .TP 16
@@ -57,6 +58,9 @@ show memory usage of 5 biggest processes
.B D Disk .B D Disk
disk usage disk usage
.TP 16 .TP 16
.B I Iface
show network interface usage
.TP 16
.B B Battery .B B Battery
battery status battery status
.TP 16 .TP 16
@@ -95,9 +99,9 @@ connects to the LCDproc server running on the default port 13666 on the local ma
.RE .RE
.PP .PP
.SH SEE ALSO .SH SEE ALSO
.Xr LCDd 8 .Xr LCDd 8
.SH AUTHOR .SH AUTHOR
LCDproc was originally written by William Ferrell (wwf@splatwerks.org) and Scott Scriven (scriven@cs.colostate.edu). LCDproc was originally written by William Ferrell (wwf@splatwerks.org) and Scott Scriven (scriven@cs.colostate.edu).