source: trunk/third/ifplugd/man/ifplugstatus.8.xml.in @ 20388

Revision 20388, 3.6 KB checked in by amb, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20387, which included commits to RCS files with non-trunk default branches.
Line 
1<?xml version="1.0"?>
2<!DOCTYPE manpage SYSTEM "xmltoman.dtd">
3<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
4
5<!-- $Id: ifplugstatus.8.xml.in,v 1.1.1.1 2004-04-09 20:09:11 amb Exp $ -->
6
7<!--
8  This file is part of ifplugd.
9
10  ifplugd is free software; you can redistribute it and/or modify it under
11  the terms of the GNU General Public License as published by the Free
12  Software Foundation; either version 2 of the License, or (at your
13  option) any later version.
14
15  ifplugd is distributed in the hope that it will be useful, but WITHOUT
16  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18  for more details.
19
20  You should have received a copy of the GNU General Public License
21  along with ifplugd; if not, write to the Free Software Foundation,
22  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
23-->
24
25  <manpage name="ifplugstatus" section="8" desc="A link beat detection tool">
26
27        <synopsis>
28          <cmd>ifplugstatus [<arg>options</arg>] [<arg>INTERFACE</arg>]</cmd>
29        </synopsis>
30       
31        <description>
32          <p>ifplugstatus is an utility which may be used to detect the link
33          status of a local Linux ethernet device, much in the same way
34          mii-diag, mii-tool and ethtool work. In fact it supports all
35          three different APIs these three tools use. Thus, it provides
36          maximal compatibility. The newest API (ethtool) is used first,
37          than the next older (mii-diag) and at last the oldest
38          (mii-tool). It may be used in shell script since it returns the
39          current status as return value. It is especially useful to
40          detect the available APIs on the used network driver. (Option
41          <opt>-v</opt>)</p>
42        </description>
43       
44        <options>
45
46          <p>You may specify an ethernet device on the command
47          line. Otherwise ifplugstatus will check all available network interfaces.</p>
48         
49          <option>
50                <p><opt>-a | --auto</opt></p>
51                <optdesc><p>
52                        Enable interface automatically before querying (default: off)
53                  </p></optdesc>
54          </option>
55         
56
57          <option>
58                <p><opt>-h | --help</opt></p>
59                <optdesc><p>
60                        Show help
61                  </p></optdesc>
62          </option>
63
64          <option>
65                <p><opt>-q | --quiet</opt></p> <optdesc><p>Decrease verbosity
66                by one. If the verbosity is &lt; 0, no text will be shown,
67                only the return value is relevant; if the verbosity is = 0, a
68                terse status will be shown; If the verbosity is &gt; 0,
69                detailed information about the used API is returned. (By
70                default the verbosity is 0)</p></optdesc>
71          </option>
72
73          <option>
74                <p><opt>-v | --verbose</opt></p>
75                <optdesc><p>
76                        Increase verbosity by one. See option <opt>-q</opt>.
77                  </p></optdesc>
78          </option>
79         
80          <option>
81                <p><opt>-V | --version</opt></p>
82                <optdesc><p>
83                        Show version
84                  </p></optdesc>
85          </option>
86         
87        </options>
88       
89        <section name="Return values">
90          <p><arg>0</arg> Success</p>
91          <p><arg>1</arg> Failure</p>
92          <p><arg>2</arg> Link beat detected (only available when an interface is specified)</p>
93          <p><arg>3</arg> Unplugged (same here)</p>
94        </section>
95       
96        <section name="Author">
97          <p>ifplugd was written by Lennart Poettering
98                &lt;@PACKAGE_BUGREPORT@&gt;.  ifplugd is available
99                at <url
100                href="@PACKAGE_URL@"/>
101          </p>
102        </section>
103       
104        <section name="See also">
105          <p>
106                <manref name="mii-diag" section="8"/>, <manref name="mii-tool"
107                  section="8"/>, <manref name="ethtool" section="8"/>, <manref name="ifplugd" section="8"/>
108          </p>
109        </section>
110       
111        <section name="Comments">
112          <p>This man page was written using <manref name="xml2man" section="1"
113                  href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>
114        </section>
115       
116  </manpage>
Note: See TracBrowser for help on using the repository browser.