File: usb.htm

package info (click to toggle)
moodss 19.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,136 kB
  • ctags: 3,149
  • sloc: tcl: 49,048; ansic: 187; perl: 178; makefile: 166; sh: 109; python: 65
file content (37 lines) | stat: -rw-r--r-- 2,557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<title>USB moodss module</title>
</head>
<body>

<p>This is a listing of all USB buses in the Linux system and all devices connected to them, as the following example screen shot shows. Note that the <i>lsusb</i> command must be available on the host being monitored.

<pre><img src="usb.gif"></pre>

<p><b>Module options:</b><ul>
  <li><i>-C</i>&nbsp;&nbsp;&nbsp;<i>(only available for ssh on UNIX client)</i>
  <br>Whether data compression is used on all data between client and server (useful on slow connections, see <i>ssh</i> manual for detailed information).
  <li><i>-i file</i>&nbsp;&nbsp;&nbsp;<i>(only available for ssh on UNIX client)</i>
  <br>Selects a file from which the identity (private key) for authentication is read (useful if an authentication agent is not running). It must not be protected by a passphrase.
  <li><i>-p port</i>&nbsp;&nbsp;&nbsp;<i>(only available for ssh on UNIX client)</i>
  <br>Port to connect to on the remote host.
  <li><i>--path directory</i>
  <br>The directory where the <i>lsusb</i> command resides, <i>/sbin</i> by default. Note that an empty option value means that the <i>lsusb</i> command must be in the path of the user running the command on the server side (also see remote monitoring below).
  <li><i>-r (--remote) [[rsh|ssh]://][user@]host</i>
  <br>Remote monitoring using <i>user</i> as logname on remote host <i>host</i> (<i>rsh</i> or <i>ssh</i> facilities must be properly setup). If <i>user</i> is not specified, current user is used as logname on remote host. The protocol is either <i>ssh</i> or <i>rsh</i> (used by default). The module title is set to <i>usb(host)</i>.
  <br>When there is a communication error with the remote host, all rows disappear and the displayed table becomes empty. A descriptive error message is also generated in such a case.
</ul>

<p><b>Notes on remote monitoring:</b><ul>
  <li>Using <i>ssh</i> is strongly recommended, as <i>rsh</i>, while being much less secure is also less efficient, as it requires creating a new session for each poll.
  <li>On a Windows client, you must use the <i>putty</i> software package (see <i>install.txt</i>), which does not support <i>rsh</i> in non interactive sessions. Consequently, the <i>-r (--remote) ssh://session</i> syntax is required to remove any confusion (where <i>session</i> has been added to the running <i>pageant</i> application).
</ul>

<p><b>Examples:</b>

<pre>$ moodss usb -r jdoe@foo.bar.com
$ moodss usb -r ssh://jdoe@foo.bar.com
$ moodss usb --remote foo.bar.com</pre>

</body>
</html>