Path: utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!ast From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: Re: need help reading data from /dev/kmem Keywords: nlist() /dev/kmem Message-ID: <1940@ast.cs.vu.nl> Date: 20 Jan 89 23:08:56 GMT References: <7107@polyslo.CalPoly.EDU> Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 11 In article <7107@polyslo.CalPoly.EDU> khearn@polyslo.CalPoly.EDU (Keith Hearn) writes: >I am interested in possibly adding system activity reporting to the MINIX > kernel > In UNIX i would use nlist() to get the addresses of the variables > I want, then do an open(), an lseek(), and a read(). Simple. MINIX does not have nlist. The compiler can be requested to produce a symbol table on a file, however, and programs can use this symbol table to locate things inside /dev/kmem. Andy Tanenbaum (ast@cs.vu.nl)