*BSD News Article 21747


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!pipex!zaphod.crihan.fr!univ-lyon1.fr!scsing.switch.ch!news.dfn.de!fauern!news.th-darmstadt.de!hotb.RoBIN.de!flinx.RoBIN.de!not-for-mail
From: hannes@flinx.RoBIN.de (Hannes Deeken)
Newsgroups: comp.os.386bsd.questions
Subject: Re: 386bsd-0.1 + pk-0.2.4: top-3.2 problems
Date: 1 Oct 1993 13:07:13 +0100
Organization: Nosimals & Co.
Lines: 34
Message-ID: <28h6hvINN2ph@flinx.RoBIN.de>
References: <CE2szt.q5@luva.stgt.sub.org>
NNTP-Posting-Host: flinx.robin.de

migieger@luva.stgt.sub.org (Michael Giegerich) writes:


>Hi,

>compiling top-3.2 (w/o any error message) was straight
>forward, but...

>after invoking top all seems ok, for 5 seconds; then after the
>first screen refreh all but the header "vanishes" (no processes
>are displayed any more).

>Any clue?

Simple. :)

Look in machine/m_386bsd.c and uncomment the following:
>/* #define PATCHED_KVM          /* YOU PROBABLY DON'T NEED THIS DEFINED! */
>                                /* define this if you have a kvm.c */
>                                /* that has been patched not to freshly */
>                                /* alloc an array of procs each time */
>                                /* kvm_getprocs is called, but to do a */
>                                /* realloc when the no. of processes inc. */


That solved the problem for me when I was running 386bsd-pk0.2.4


Ciao,
Hannes
-- 
Hans-Christoph Deeken | hannes@flinx.{RoBIN.de,hotb.sub.org} (home)
Jungfernstrasse 34    | deeken@iti.informatik.th-darmstadt.de (university)
64291 Darmstadt       | IRC: Glenlivet