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
ec8a930f96
remove comment that doesn't apply to us
2011-05-24 09:30:20 +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
06fdec108e
add rcs id's
2011-05-23 19:35:52 +00:00
jasper
f4b38c4bd4
don't leave os_version_code unitialized
2011-05-23 19:31:19 +00:00
jasper
223b8c349e
finish cleaning, this should now provide a base to fix bugs that doesn't
...
make you want to crawl out your eyes...
2011-05-23 19:13:07 +00:00
jasper
99cbaafb32
more ifdef cleaning
2011-05-23 18:47:30 +00:00
jasper
832c9594c4
start cleaning the ifdef-hell
2011-05-23 18:28:14 +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
ajacoutot
687b73d774
No need for the itlocaledir tweak anymore.
2011-04-26 13:09:07 +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
b262a4660a
Forgot to cvs rm in previous.
2010-12-02 09:20:29 +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
ajacoutot
279d6517a7
rEWORK THe syctl patch to be closer to what upstream does for other OS.
2010-04-17 11:46:41 +00:00
ajacoutot
c0da600c3c
We want ia_netmask here.
2010-04-17 07:51:01 +00:00
ajacoutot
236eddb324
Actually compile the procaffinity stub.
...
Fix a double free, found out while working on an upcoming
gnome-system-monitor port.
2010-04-11 12:38:56 +00:00
ajacoutot
ed999124da
Remove the post-install target, we set permissions with PLIST markers.
...
Fix some ifdef mess in sysdeps/bsd/procmem.c.
Fix some warnings and implicit references.
Fix subnet display.
Bring a couple of patches from FreeBSD.
This is still not perfect but libgtop2 is now much more robust.
2010-04-08 15:57:46 +00:00
ajacoutot
8129bcd8b4
Minor update to libgtop2-2.28.1.
...
(only translations updates)
2010-03-30 16:24:24 +00:00
sthen
242fff5eff
Unbreak after ia_subnet removal. ok jasper@
2010-01-18 09:27:00 +00:00
jasper
3d472c5987
- fix a check in configure and first stab at working mountlist.
2009-11-02 20:19:06 +00:00
jasper
3c5a9b58e0
- update libgtop2 to 2.28.0
...
* it's not any less broken than the previous version, but at least it
gives us a recent base to hack on.
aja@ agrees
2009-10-16 10:56:04 +00:00