Commit Graph

91 Commits

Author SHA1 Message Date
jasper
6a8b83abeb sync after recent gnome.port.mk CONFIGURE_ENV changes 2011-09-28 09:47:46 +00:00
jasper
bf540f07b0 bump so this gets rebuild and we can read vfs.generic.bcstats again. 2011-09-26 11:04:06 +00:00
jasper
ce57eca3b4 CONFIGURE_SHARED is now implied by gnome.port.mk, so no need to make it explicit anymore. 2011-09-20 21:04:24 +00:00
jasper
9fe4b0f440 switch to MODGNOME_TOOLS 2011-09-20 20:51:51 +00:00
jasper
f1b5c30c51 allow monitoring mfs partitions too 2011-09-18 11:24:58 +00:00
jasper
e320817993 don't bother getting info from kernel threads 2011-09-17 17:43:44 +00:00
espie
c5a475ebe0 normalize pkgpath 2011-09-16 09:24:48 +00:00
jasper
ad2a9c291c switch the rest of the ports using gnome.port.mk over to .tar.xz where applicable. 2011-09-12 12:07:24 +00:00
jasper
3f461814a5 - update libgtop to 2.28.4
* openbsd now has it's own backend
- remove some patch- files that i've committed upstream too
2011-08-30 12:24:52 +00:00
jasper
209f405467 Fix error message to make it readable again. 2011-08-17 12:34:47 +00:00
jasper
db11b7b063 - decrease stack usage when retrieving memory stats
- use consistent warnings when failing sysctl(3) calls
2011-07-10 15:23:01 +00:00
jasper
ac95a9e7ff - retrieve and use buffercache statistics so we get a proper view
of memory usage

ok aja@
2011-07-10 14:42:39 +00:00
jasper
7e3abfbee1 - correct sysctl names in two warning messages
- rename a few variables for clarity
2011-07-09 08:04:14 +00:00
jasper
59332b7fe6 - Fix scope6 and prefix6 retrieval 2011-06-20 11:48:39 +00:00
jasper
149db12a47 - fix GLIBTOP_NETLOAD_HWADDRESS so we can retrieve the hardware address of an interface 2011-06-20 09:50:04 +00:00
jasper
d10d35f25b revert changes made for vmmap, but keep the new file around 2011-06-06 17:12:12 +00:00
jasper
175dd30580 - implement uptime.boot_time 2011-06-01 07:24:49 +00:00
jasper
03fb5bd137 - add a comment as to why we undef STAT_STATVFS now
- rename a function now it's in the openbsd implementation
- put CP_IDLE instead of 0 in uptime->idletime
2011-05-31 19:25:31 +00:00
jasper
6a5430296f - filesystem read/write accounting works fine, so there's no reason not to export it.
fixes the "Disk" graph from gnome-applets multiload applet
2011-05-31 18:06:28 +00:00
jasper
2513ae7bfe make this work on 32 bit arches. 2011-05-31 14:19:18 +00:00
jasper
5821c1967b - silence various warnings 2011-05-31 14:02:26 +00:00
jasper
72430a5fe7 - slightly adjust cpu usage retrieval.
this still doesn't work on i386 (32 bit arches?), whereas it does work
  fine on amd64, mips64el and sparc64..
2011-05-31 13:47:56 +00:00
jasper
bfbf2ef0ef - adjust for vmmap; we copy the full vmmap tree from the kernel into the process
memory and walk through it with RB_FOREACH.

committing on behalf of ariane@ who wrote all the code, many thanks!
2011-05-26 17:47:24 +00:00
jasper
49835453c2 revert previous, it only adds to the confusion.. 2011-05-26 08:07:21 +00:00
jasper
31de6f9252 Change the way glibtop_mem->total is calculated. Instead of adding
t_free to t_rm, just use t_rm. And use t_arm for glibtop_mem->used.

This makes things less confusing and more in line with the values
top(1) returns.
2011-05-26 07:28:51 +00:00
jasper
b517a05142 use the same type for temporarily storing the amount of swap, as is used
in the struct that's eventually used to export it.
2011-05-25 10:44:34 +00:00
jasper
146b8a8d98 - fix cpu load calculation (was either 0% or 100%, but it seems only amd64
is fixed now, will look at the others soon).
- take maintainership
2011-05-24 12:37:15 +00:00
jasper
f5e79ac1fa fix memory handling, instead of using 17179869183.3 GiB of RAM it's
now giving sensible values.
2011-05-24 11:21:56 +00:00
jasper
a5e0a9326b use sysconf() instead of the deprecated getpagesize() 2011-05-24 10:40:47 +00:00
jasper
bf81eec5f8 - fix swap detection 2011-05-24 08:48:22 +00:00
jasper
2e03503c62 only try to calculate swap usage if it's enabled. still needs some work
to get a proper avail/inuse though.
2011-05-23 21:26:41 +00:00
jasper
f4b38c4bd4 don't leave os_version_code unitialized 2011-05-23 19:31:19 +00:00
jasper
c977db561e the openbsd code has diverged too much from the freebsd and generic bsd code
to be easily maintainable. so instead move it to files/ for now untill it
gets incorporated upstream.

discussed with aja@
2011-05-23 18:09:10 +00:00
jasper
1043c5cc0a - remove unnecessary NULL casts 2011-04-16 21:28:35 +00:00
ajacoutot
be87baa820 Add introspection support (needed for on-going GNOME 3 work). 2011-04-07 08:09:35 +00:00
ajacoutot
c0c25d4647 Maintenance update to libgtop2-2.28.3. 2011-03-25 16:16:32 +00:00
ajacoutot
1394d63d24 This is not needed anymore. 2010-12-02 09:15:25 +00:00
espie
5855efb734 move depends to new style 2010-11-15 19:45:56 +00:00
espie
7f2b17ae6e kill a few libspecs in LIB_DEPENDS 2010-11-08 09:57:39 +00:00
ajacoutot
92a03e3800 Include sys/sched.h. 2010-10-27 12:52:42 +00:00
sthen
e3397f5a31 use kvm_getproc2; ok ajacoutot@ 2010-10-26 09:44:32 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
ajacoutot
fe20bbf81d Update to libgtop2-2.28.2.
ok jasper@
2010-09-30 07:44:35 +00:00
ajacoutot
91570903a6 Fix ncpu display on big endian. 2010-09-18 09:14:17 +00:00
ajacoutot
b926752900 Missing dependency. 2010-04-18 12:51:44 +00:00
ajacoutot
6df9234e54 Forgot to bump in previous. 2010-04-18 12:34:00 +00:00
ajacoutot
40fdf8a7c1 Implements procwd and procopenfiles using a wrapper around lsof(8)
(from FreeBSD sysdeps directory).
Merge proctime.c patch from pkgsrc.
Several other cleanings.
2010-04-18 12:32:09 +00:00
ajacoutot
6671a84614 Reverse logic. 2010-04-18 09:49:22 +00:00
ajacoutot
35b22fec76 Implement "model name" in init_sysinfo, needed for gnome-system-monitor. 2010-04-17 14:44:18 +00:00
ajacoutot
551c338fba Forgot this part in previous. 2010-04-17 12:05:13 +00:00