DragonFly users List (threaded) for 2007-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: libgtop2 and xorg break
:For the proc's memory stats, it wants to run through the mmap entry
:list amongst other things. Here is an excerpt of the original code. As
:I know about nothing about this, it's a bit too difficult to patch :-)
/proc can be used to read the mmap entry list and get most of the
statistics.
Generally speaking accessing raw kernel structures via KVM is virtually
guarenteed to break from release to release.
A good project would be to determine all the information programs like
this need and to export the pieces that are not already available
via sysctl with sysctl.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]