diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-05-26 13:21:19 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-05-26 13:21:19 +0000 |
commit | b1e908e6b64b5aab66058eebc9899bcccb342e40 (patch) | |
tree | b118531c4bea2d59fb4ee38a13984b3cade8e7dd /sysdeps/freebsd/mem.c | |
parent | f91050a7c7873a25da16f62cf1fcc2a527695b7e (diff) | |
download | libgtop-b1e908e6b64b5aab66058eebc9899bcccb342e40.tar.gz |
More NetBSD 1.4 fixes.
1999-05-26 Martin Baulig <martin@home-of-linux.org>
More NetBSD 1.4 fixes.
* mem.c, procmap.c, procmem.c: Make this work with the new UVM code.
[FIXME: This following most likely works on all BSD systems, but
this needs to be tested; I made it conditional to NetBSD 1.4 at
the moment. Please extend the conditionals to any other systems
where this works ...]
* procstate.c: Added `ruid' and `rgid' for LibGTop >= 1.1.0.
* procuid.c: Added `ngroups' and `groups' for LibGTop >= 1.1.0.
Diffstat (limited to 'sysdeps/freebsd/mem.c')
-rw-r--r-- | sysdeps/freebsd/mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/freebsd/mem.c b/sysdeps/freebsd/mem.c index 39b76e7a..0afafc0c 100644 --- a/sysdeps/freebsd/mem.c +++ b/sysdeps/freebsd/mem.c @@ -174,6 +174,7 @@ glibtop_get_mem_p (glibtop *server, glibtop_mem *buf) #else #if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) v_total_count = uvmexp.reserve_kernel + + uvmexp.reserve_pagedaemon + uvmexp.free + uvmexp.wired + uvmexp.active + uvmexp.inactive; fprintf (stderr, "TEST: %d - %d\n", v_total_count, |