added documentation for 'get filesystems'

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2665 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-02-08 15:57:21 +00:00
parent 55d941a294
commit f42c2963a2

View File

@@ -68,6 +68,7 @@ SYSSTAT_Get($@)
my $filesystems = $sys->get->{diskusage}; my $filesystems = $sys->get->{diskusage};
my $ret; my $ret;
$ret .= "<filesystem> <= <mountpoint>\n";
foreach my $filesystem (keys %$filesystems ) { foreach my $filesystem (keys %$filesystems ) {
$ret .= $filesystem ." <= ". $filesystems->{$filesystem}->{mountpoint} ."\n"; $ret .= $filesystem ." <= ". $filesystems->{$filesystem}->{mountpoint} ."\n";
} }
@@ -208,8 +209,20 @@ SYSSTAT_GetUpdate($)
free bytes for &lt;mountpoint&gt;</li> free bytes for &lt;mountpoint&gt;</li>
</ul><br> </ul><br>
<a name="SYSSTAT_Get"></a>
<b>Get</b>
<ul>
<code>get &lt;name&gt; &lt;value&gt;</code>
<br><br>
where <code>value</code> is one of<br><br>
<li>filesystems<br>
Lists the filesystems that can be monitored.</li>
</ul><br>
<a name="SYSSTAT_Attr"></a> <a name="SYSSTAT_Attr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul>
<li>filesystems<br> <li>filesystems<br>
List of comma separated filesystems (not mountpoints) that should be monitored.<br> List of comma separated filesystems (not mountpoints) that should be monitored.<br>
Examples: Examples:
@@ -221,7 +234,7 @@ SYSSTAT_GetUpdate($)
If set the usage is shown in percent. If not set the remaining free space in bytes is shown.</li> If set the usage is shown in percent. If not set the remaining free space in bytes is shown.</li>
<li>useregex<br> <li>useregex<br>
If set the entries of the filesystems list are treated as regex.</li> If set the entries of the filesystems list are treated as regex.</li>
</ul> </ul>
=end html =end html
=cut =cut