aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon
AgeCommit message (Collapse)Author
2013-12-09Prepare releaseOTP_R16B03Erlang/OTP
2013-10-31Fix incorrect reporting of memory on OS X via memsup.Christopher Meiklejohn
Application memsup should be calculating free memory using the speculative pages, in the same manner that the Activity Monitor and top programs on OS X do. In addition, correct page size to 4096, based on verification of available memory between top, vm_stat and Activity Monitor.
2013-09-16Prepare releaseOTP_R16B02Erlang/OTP
2013-09-02Fix broken cpu_sup:nprocs and others on Solaris 64-bitSimon Cornish
The correct kstat datatype for nproc & avenrun_* is ui32, not ulong. Under 64-bit OTP builds garbage was returned because the wrong datatype was used. This patch correcs the datatype. It also adds an additional check in the test case for a slightly less insane return value.
2013-09-02Fix some compiler warningsSimon Cornish
2013-09-02Remove object files when cleaningSimon Cornish
Otherwise something like this will fail: ./otp_build setup --enable-m32-build make clean ./otp_build setup --enable-m64-build
2013-08-08Merge branch 'lukas/smoketests/OTP-11221' into maintLukas Larsson
* lukas/smoketests/OTP-11221: Add smoke tests
2013-08-05Add smoke testsLukas Larsson
Smoke tests are meant to verify that a build of erlang has been successfull.
2013-07-26Fix compilation on SolarisMaciej Małecki
Trying to compile R16B01 on SmartOS resulted in following errors: gcc -c -o ../priv/obj/i386-pc-solaris2.11/ferrule.o -Werror=return-type -g -O2 -I/root/otp_src_R16B01/erts/i386-pc-solaris2.11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename -DHAVE_CONFIG_H ferrule.c ferrule.c:53:1: error: return type defaults to 'int' [-Werror=return-type] ... gcc -c -o ../priv/obj/i386-pc-solaris2.11/mod_syslog.o -Werror=return-type -g -O2 -I/root/otp_src_R16B01/erts/i386-pc-solaris2.11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename -DHAVE_CONFIG_H mod_syslog.c mod_syslog.c:50:1: error: return type defaults to 'int' [-Werror=return-type] mod_syslog.c: In function 'make_exit': mod_syslog.c:136:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] mod_syslog.c: In function 'main': mod_syslog.c:131:1: error: control reaches end of non-void function [-Werror=return-type] Adding return values and types to `main` functions in `mod_syslog.c` and `ferrule.c` fixed the build.
2013-07-22Merge branch 'egil/os_mon/fix-bsd-disksup/OTP-11207' into maintBjörn-Egil Dahlberg
* egil/os_mon/fix-bsd-disksup/OTP-11207: os_mon: Fix openbsd diskspace queries os_mon: Fix freebsd diskspace queries
2013-07-19os_mon: Relax disksup_SUITE test even moreBjörn-Egil Dahlberg
Capacity can be zero on certain filesystems. Remove reported mountpoints with zero capacity during tests since these reports false positives.
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-07-18os_mon: Refactor disksup_SUITEBjörn-Egil Dahlberg
Notably, remove ?line macro.
2013-07-18os_mon: Relax disksup_SUITE api testBjörn-Egil Dahlberg
2013-06-17Prepare releaseOTP_R16B01Erlang/OTP
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-06-07versions updates for erl_interface, et and os_monFredrik Gustafsson
2013-03-15Merge branch 'yt/netbsd/OTP-10941' into maintFredrik Gustafsson
* yt/netbsd/OTP-10941: Moved ifdef NetBSD to proper place reduce bashism compilation fix for NetBSD compilation fix for NetBSD
2013-03-15Merge branch 'sm/fix-disksup-susv3/OTP-10945' into maintFredrik Gustafsson
* sm/fix-disksup-susv3/OTP-10945: This patch fixes disksup:get_disk_data for SUSv3, specifically OS X ML
2013-03-15Moved ifdef NetBSD to proper placeFredrik Gustafsson
2013-03-08compilation fix for NetBSDYAMAMOTO Takashi
taken from a pkgsrc patch: patch-lib_os__mon_c__src_memsup.c
2013-02-22Update 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.
2013-01-29Prepare releaseOTP_R16A_RELEASE_CANDIDATEErlang/OTP
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2013-01-23Turn warnings to errors on selected applicationsBjörn Gustavsson
2013-01-18Merge branch 'nox/enable-silent-rules/OTP-10726'Björn-Egil Dahlberg
* nox/enable-silent-rules/OTP-10726: Implement ./otp_build configure --enable-silent-rules
2013-01-15Implement ./otp_build configure --enable-silent-rulesAnthony Ramine
With silent rules, the output of make is less verbose and compilation warnings are easier to spot. Silent rules are disabled by default and can be disabled or enabled at will by make V=0 and make V=1.
2013-01-08os_mon: Remove superfluous match clauseBjörn-Egil Dahlberg
2012-09-26[os_mon] Remove call to deprecated/undefined functions in snmpSiri Hansen
Also, rewrite test suite (os_mon_mib_SUITE) to use ct_snmp intead of using snmp application directly.
2012-09-04Merge tag 'OTP_R15B02'Björn-Egil Dahlberg
The R15B02 release
2012-09-03Prepare releaseOTP_R15B02Erlang/OTP
2012-08-31Merge branch 'maint'Björn-Egil Dahlberg
Conflicts: lib/diameter/autoconf/vxworks/sed.general xcomp/README.md
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-07-25Merge branch 'maint'Björn-Egil Dahlberg
2012-07-24os_mon: Elucidate port program error messagesBjörn-Egil Dahlberg
Try to avoid confusion of the message 'Erlang has closed' by clarifying that the message is sent from os_mon port programs.
2012-07-19os_mon: Remove VxWorksBjörn-Egil Dahlberg
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-05-21Add infinity timeout to os_mon callsGustav Simonsson
2012-04-01Prepare releaseOTP_R15B01Erlang/OTP
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-02-14Merge branch 'av/maint-memsup' into maintHenrik Nord
* av/maint-memsup: Fix segmentation fault in memsup OTP-9913
2012-01-25Look for port in priv/bin/arch/ as well as priv/bin/Lukas Larsson
2011-12-12Prepare releaseErlang/OTP
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-11-30os_mon: Eliminate use of tuple funBjörn Gustavsson
2011-11-22Revert "Update version numbers for pre-release of R15"Björn-Egil Dahlberg
This reverts commit e21ff9b0b69219ab3853be7e80813156113152b7.
2011-11-22Update version numbers for pre-release of R15OTP_R15ABjörn Gustavsson
2011-11-15Fix segmentation fault in memsupAnton Vorobev
when /proc/meminfo does not include information about buffers/cache (for instance inside OpenVZ container)