Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!ptimtc!nntp-server.caltech.edu!gumby!newton From: newton@gumby.cs.caltech.edu (Mike Newton) Newsgroups: comp.sys.m88k Subject: Re: performance tools Message-ID: Date: 14 Jun 91 20:25:14 GMT References: <1830@lkbpyr.UUCP> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology, Pasadena Lines: 50 tom@ssd.csd.harris.com (Tom Horsley) writes: >One of my biggest objections to DG/UX is the lack of tools like this >(personally, I would like to see 'top' more than most of the others). >... >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). Well.... They are _very_ crude, but I have some tools that were useful on several occasions (eg: "why do char.s get droped at 9600 baud", "what the ____ is X doing", ...). They are are all small, and many of them just play w/ the IO devices. k-params -- print out your environment (the 88k one, not *environ[]!) dg_info -- an EXTREMELY crude system profiler. start it, start your job/run/tty/... and then wait for the time out (I said it was crude). Get more useless statistics than you can imagine. Change the time appropriately, or better yet, make it a command line arg, or even better, fork off the thing to run... kbd-read -- so just why does my keyboard go to IBM mode 2... (reads raw chars) kbd-reset -- if you use Xmodmap to switch caps/cntrl lock, or you run 9600 baud on older AViiON's, you can have your keyboard lock. Put this in the main (root level) X popupwindow (w/ all modifiers). Then you dont have to reboot... mousie.c / move-mouse.c / mouse-advise.c -- like kbd-read and advise advise -- the infamous program (Someone took a copy of my 15 minute hack and used it as an example in a conference paper on 'why unix programs are bad'). Great for stuck ptys and such rot. An old version is on csvax.cs.caltech.edu in pub/M88K. The name is something like dg-tools or dg-io (.t.Z). If anything's missing, send me a note and i'll put newer versions on. Again: they are crude hacks. Most were written in 5-15 minutes to try and find out what was happening / fix something. One was written by taking sed to the right /usr/include files... . However, I've ended up using them often (and have absolutely no time to improve them). - mike ps: also note that DG/Motorola have 'm88kscheduler'and 'pipesim' avail. ps: i've also written part of a better system spier. however i've never been able to figure out how to read IO space (negative addresses) so it was never finished. (Neither reading kmem nor mem will work -- they do not include 0xf..... type addresses.) If anyone knows how, tell me and sooner or later (more likely 'later') i'll finish the new tools