Commit graph

8 commits

Author SHA1 Message Date
Doug Torrance a473280ab9 wmmemload: Use sysctl to get memory usage in FreeBSD.
Previously, kvm_read was used to get the memory usage in FreeBSD.  However,
this has been deprecated in favor of sysctl.  This patch implements this
change.

Some work had previously been done in this direction, as could be seen in
the file src/mem_freebsd_sysctl.c.  Since this file is no longer needed, it
has been removed.

Additionally, some formatting has been done on the remaining older code for
a more consistent style.
2014-10-10 10:09:52 +01:00
Doug Torrance ba72863015 wmmemload: Fix FTBFS on the Hurd.
The following patch, by Svante Signell <svante.signell@gmail.com>, adds Hurd
support to wmmemload.

For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764356
2014-10-07 21:45:40 +01:00
Doug Torrance 612921ae43 Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
Doug Torrance 32ce80ea45 wmmemload: Fix version check for kernel 3.0.
Based on the patch from Debian by Guillermo Indalecio Fernandez
<guillermobox@gmail.com>:
http://sources.debian.net/src/wmmemload/0.1.6-8/debian/patches/04-kernel30.patch/
2014-10-04 08:13:16 +01:00
Doug Torrance 183f35d886 wmmemload: Fix errors in the manpage.
Several command-line options were incorrectly given in the manpage.

Based on the patch from Debian by Philipp Benner <philipp@debian.org>:
http://sources.debian.net/src/wmmemload/0.1.6-8/debian/patches/03-manual.patch/
2014-10-04 08:13:15 +01:00
Doug Torrance 892f62e139 wmmemload: Fix autotools warnings.
In particular, drop the arguments to AM_INIT_AUTOMAKE and merge CPPFLAGS into
AM_CPPFLAGS.
2014-10-04 08:13:15 +01:00
Doug Torrance b49510e3c0 wmmemload: Remove autotools-generated files. 2014-10-04 08:13:15 +01:00
Doug Torrance a15c2e2029 wmmemload: Add version 0.1.6 to repository.
Obtained from:
http://ftp.de.debian.org/debian/pool/main/w/wmmemload/wmmemload_0.1.6.orig.tar.gz
2014-10-04 08:13:15 +01:00