Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 1e83d3a59ba566dfa9bc2cd6aaa201ad > files > 49

lcdproc-0.4.3-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML
><HEAD
><TITLE
>The LCDproc Init Scripts</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="LCDproc User's Guide"
HREF="book1.html"><LINK
REL="UP"
TITLE="LCDproc Configuration"
HREF="c254.html"><LINK
REL="PREVIOUS"
TITLE="LCDproc Configuration"
HREF="c254.html"><LINK
REL="NEXT"
TITLE="LCDproc Drivers"
HREF="c429.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>LCDproc User's Guide: The Ultimate Guide to LCDproc 0.4.3</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="c254.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>LCDproc Configuration</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="c429.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="INIT-SCRIPTS"
></A
>The LCDproc Init Scripts</H1
><P
>The LCDproc distribution contains init scripts for RedHat- and Debian-based
GNU/Linux distributions. You can find them in the <TT
CLASS="FILENAME"
>docs/</TT
>
directory of the LCDproc sources.</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>The init scripts are generated using autoconf. So, again it is important that
you have run <B
CLASS="COMMAND"
>./configure</B
> with the correct options for your
system.</P
></TD
></TR
></TABLE
></DIV
><P
>Refer to your system's manual on how to install the scripts.</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="INIT-LCDD"
></A
>init-LCDd</H2
><P
>The file <TT
CLASS="FILENAME"
>scripts/init-LCDd.*</TT
> is the init script for the
LCDproc server LCDd. It does not require modification.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="INIT-LCDPROC"
></A
>init-lcdproc</H2
><P
>The file <TT
CLASS="FILENAME"
>scripts/init-lcdproc.*</TT
> is the init script for the
LCDproc "main" client lcdproc. As lcdproc itself does not (yet) have a configuration file
you may want to modify the options the init script passes to lcdproc.</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="./stylesheet-images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>You can retrieve a listing of all options of lcdproc running <B
CLASS="COMMAND"
>lcdproc --help</B
>.</P
></TD
></TR
></TABLE
></DIV
><P
>The lcdproc init script retrieves the options it will pass to lcdproc from the file
<TT
CLASS="FILENAME"
>/etc/lcdproc.conf</TT
> (<TT
CLASS="FILENAME"
>scripts/lcdproc.conf</TT
> in the
sources distribution).</P
><DIV
CLASS="EXAMPLE"
><A
NAME="AEN424"
></A
><P
><B
>Example 3. <TT
CLASS="FILENAME"
>lcdproc.conf</TT
>: Modify the option passed to lcdproc</B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>&#13;# /etc/lcdproc.conf
#
# Configuration file of the main LCDproc client "lcdproc"
# NOTE: The configuration file of LCDd is /etc/LCDd.conf

# Set SCREENS to the screens you want lcdproc to send to LCDd
# lcdproc --help will give you a list of the screens available

SCREENS="C X"&#13;</PRE
></TD
></TR
></TABLE
></DIV
><P
>In this example lcdproc will only send information on the CPU usage [C] and system load [X] to the server.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="c254.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="c429.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>LCDproc Configuration</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c254.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>LCDproc Drivers</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>