Subject: Re: UVM and top
To: David Forbes <dmf20@hermes.cam.ac.uk>
From: Todd Vierling <tv@pobox.com>
List: port-arm32
Date: 06/16/1998 07:21:55
On Tue, 16 Jun 1998, David Forbes wrote:
: > 1. top doesn't work. It complains about something called _cnt when doing
: > a _kvm_read (or similar, anyway, it won't work). I've rebuilt the kvm.db
: > file using kvm_mkdb and it doesn't make the slightest difference. I've
: > noticed that top is in /usr/local/bin and the snapshots don't include
: > (AFAIK) this directory. Is this the problem? Can I fix top by just
: > recompiling it again, and if so, will it compile properly? (I've tried to
: > compile top and xosview (which I think includes bits of top) and they
: > don't work).
:
: Have you been compiling with the -DUVM switch? It seemed to fix the
: problem for me. (BTW, is there an easy way to have this switch on
: properly?)
Yes. Compile top from pkgsrc with UVM=1 in /etc/mk.conf.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)