diff options
author | Johannes Weißl <[email protected]> | 2014-03-17 01:05:08 +0100 |
---|---|---|
committer | Johannes Weißl <[email protected]> | 2014-07-01 00:47:19 +0200 |
commit | 56c8dabfbc6a6dc8cb6a066d0b74f861b9d16327 (patch) | |
tree | 4a1ae69ca95b5e5f90b06185b7b6665314be099b /lib/os_mon/doc | |
parent | 614bca0f5832f06bcc181c58b78e3371d79ec40d (diff) | |
download | otp-56c8dabfbc6a6dc8cb6a066d0b74f861b9d16327.tar.gz otp-56c8dabfbc6a6dc8cb6a066d0b74f861b9d16327.tar.bz2 otp-56c8dabfbc6a6dc8cb6a066d0b74f861b9d16327.zip |
Add 'disksup_posix_only' parameter to disksup
On embedded (Linux) systems the "df" program is very often provided by
the Busybox (or Toolbox) project. This version does not provide the "-l"
option (for displaying only local filesystems) used in disksup.erl.
To make disksup work on these embedded platforms, this patch adds a new
application parameter 'disksup_posix_only', to make diskup use only
options defined in the POSIX standard:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/df.html
Diffstat (limited to 'lib/os_mon/doc')
-rw-r--r-- | lib/os_mon/doc/src/disksup.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/os_mon/doc/src/disksup.xml b/lib/os_mon/doc/src/disksup.xml index dbcfd65095..c8566d0126 100644 --- a/lib/os_mon/doc/src/disksup.xml +++ b/lib/os_mon/doc/src/disksup.xml @@ -73,6 +73,16 @@ much disk can be utilized before the <c>disk_almost_full</c> alarm is set. The default is 0.80 (80%).</p> </item> + <tag><c>disksup_posix_only = bool()</c></tag> + <item> + <p>Specifies whether the <c>disksup</c> helper process should only + use POSIX conformant commands (<c>true</c>) or not. The default is + <c>false</c>. Setting this parameter to <c>true</c> can be + necessary on embedded systems with stripped-down versions + of Unix tools like <c>df</c>. The returned disk data and alarms + can be different when using this option.</p> + <p>The parameter is ignored on Windows.</p> + </item> </taglist> <p>See <seealso marker="kernel:config">config(4)</seealso> for information about how to change the value of configuration |