aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src/disksup.erl
AgeCommit message (Collapse)Author
2016-05-10os_mon: Fix unmatched return warningsBjörn-Egil Dahlberg
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2014-08-06os_mon: Ignore posix_only on windows and solarisLukas Larsson
2014-07-01Add 'disksup_posix_only' parameter to disksupJohannes Weißl
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
2013-07-18os_mon: Fix openbsd diskspace queriesBjörn-Egil Dahlberg
Use 'df -k -l' to query OpenBSD about diskspace on local disks. Same reasoning as for FreeBSD - additional filesystems without listing them all.
2013-07-18os_mon: Fix freebsd diskspace queriesBjörn-Egil Dahlberg
Use 'df -k -l' to query FreeBSD about diskspace on local disks. Previously 'df' -k -t ufs' was used but this will not handle zfs disks. Just use '-l' instead of listing potential filesystems.
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-01-31This patch fixes disksup:get_disk_data for SUSv3, specifically OS X MLSriram Melkote
On OS X Mountain Lion, the default output of df command includes iNode used and iNodes free, which apparent what SUSv3 specifies. This breaks the current parse logic and reports incorrect results. This patch adds support for the new format and ensures older versions of OS X produce this format by adding the -i switch (which is now the default). Adding support for this new format rather than changing df output as we'll presumably see this on other platforms eventually.
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-05-21Add infinity timeout to os_mon callsGustav Simonsson
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-03Add NetBSD support to memsup and disksupAndrew Thompson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP