Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!newstop!sun!amdcad!dgcad!proa.sv.dg.com!gary From: gary@proa.sv.dg.com (Gary Bridgewater) Newsgroups: comp.sys.m88k Subject: Re: performance tools Message-ID: <1991Jun16.081435.20572@proa.sv.dg.com> Date: 16 Jun 91 08:14:35 GMT References: <1830@lkbpyr.UUCP> Organization: Data General SDD, Sunnyvale, CA Lines: 29 In article tom@ssd.csd.harris.com (Tom Horsley) writes: >If anyone has ported any of the public domain performance tools so they use >these services, I would like to hear about it (probably a lot of other >people would as well). Many people in DG have or had Suns and have seen top. Most of them would like it on DG/UX. The problem with a straight port is that top is written very much around having access to /vmunix and the various BSDish structs so there is no hierarchy (e.g. get_process_stuff() { get_memory_usage(); get_cpu_usage..}). Also, the information that is processed is orthagonal to what is available from the DG/UX dg_ calls. Consequently, you have to re-write most of it. At that point you realize you might as well make it X-based (well, MOTIF based anyway) so you would end up writing a completely new utility. As long as you are doing all that you might as well make some of the info graphic (bar charts or speedometers, etc.) and on and on. This is getting into some serious development time so it is typically beyond the "spare time" level. That means it is up to the real tools folks (which I am in no way associated with) so an STR with a formal request becomes necessary to get the marketing folks to approve such a thing. Internal STRs don't cut as much ice with marketing as those from paying customers. {insert your conclusion here} If you disagree with my analysis then print the sources out and read through them. This is in no way to disparage top - it is very useful in its milieu but it is useless, as such, under DG/UX other than as a model. -- Gary Bridgewater, Data General Corporation, Sunnyvale California gary@sv.dg.com or {amdahl,aeras,amdcad}!dgcad!gary "I am a pizza. I am a pizza. ..."