wmseti 1.0.3 coredumps because of some faulty code, as
noted in the source you where requesting a better way
to do this.
This patch should supply you with the requested info,
this however means that somebody needs to tell the make
file to link against libkvm (-lkvm) when compiled on
FreeBSD, since this new functionality uses it to
retrieve the requested informationen.
The function call is implemented in a seperate .c file
so you can conditionally compile/link it for FreeBSD
Re.
Patch to fix wmseti for use with freebsd proper kvm_getproc call
Logged In: YES
user_id=805827
Overlooked important missing codeline :-)
The latter patch is correct.
correct patch to fix wmset for use with freebsd kvm_getproc call
Logged In: YES
user_id=24564
Hi. Will apply and sort out the Makefile for FreeBSD.
Hmm, it only took a month to notice this patch! Ooops.
Logged In: YES
user_id=805827
Well i was dying for some attention here *G*
Anyway, after my last endavours with wmseti i started using
it on freebsd 5.x as well, and it seems some minor changes
have been made to the kvm interface with respect to variable
naming. So here is an updated fbsd_getpidstat.c file that
takes care of this problem.
Logged In: YES
user_id=805827
Whoops forgot to click the checkbox here comes the file.
fbsd_getpidstat.c that works on 4.x and 5.x