Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!lll-winken!iggy.GW.Vitalink.COM!pacbell.com!ucsd!ucrmath!watnxt3!jason From: jason@watnxt3.ucr.edu (Jason Bishop) Newsgroups: comp.sys.next Subject: sys programming Message-ID: <13401@ucrmath.ucr.edu> Date: 7 Apr 91 05:44:14 GMT Sender: news@ucrmath.ucr.edu Organization: University of California, Riverside Lines: 27 I am trying to port top to mach. Top is a program that shows the top processes running in real time. It currently only works on suns and a couple of others. I am having trouble because mach doesnt support alot of the structures suns do. For example look in /usr/include/sys/proc.h, most of the fields in proc are missing on Nexts. What do I do? Does anybody know of mach programming documentation? I really need something because I really need top. Anybody got any ideas? Like how does ps figure out % cpu usage if its not in kmem? Does anybody know of any good kmem docs? mach or bsd would be nice. Thanx!!! ....Jason //////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ || Jason Bishop tonto@ucrmath.ucr.edu || || aka: "The Amazing Tonto" ...!ucsd!ucrmath!tonto || || "Its not guns that kill jason@watnxt3.ucr.edu || || you... Its those University of California || || silly little bullets!" :*) Riverside || \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////// //////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ || Jason Bishop tonto@ucrmath.ucr.edu || || aka: "The Amazing Tonto" ...!ucsd!ucrmath!tonto || || "Its not guns that kill jason@watnxt3.ucr.edu || || you... Its those University of California || || silly little bullets!" :*) Riverside || \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\//////////////////////////////