Copyright ã1993, 1994, 1997  Scott Hess  All Rights Reserved.

Installing TimeMon4.0

Installation should be trivial.  Drag&drop to copy it where you want it, and run it how you want.  Put it on your dock set to autolaunch, if you have a Dock.  I put it right under the NeXT icon, where it's easy to find.  In Rhapsody, you should be able to put it under the Preferences item for 'Login Items'.

If the program doesn't work because table() isn't found.

Unfortunately, TimeMon3.1 and later uses an undocumented Mach feature.  It used to be documented under NS2.1.  Sort of.  I refer to the table() function, which allows user programs to query certain kernel data structures without having to be setgid-kmem.  Under NS3.0 and later the relevant include file is apparently no longer available, which means that I had to include some code from the NS2.1 file in loadave.c.

This situation concerns me, since it means that perhaps in the next release, not only will the include file be gone, so will the kernel interface, in which case TimeMon can no longer use it.  Since that interface is sort of the point of the program ... anyhow, I've included an escape hatch.  If TimeMon is compiled with CFLAGS=-DKMEM and installed setgid-kmem (chgrp kmem TimeMon ; chmod g+s TimeMon), then it will use the tried-and-true method of poking around in kernel memory to find the information.  Installing TimeMon setgid-kmem is a security risk.  Only do this if TimeMon no longer links correctly due to absence of the table() function.

How To Find Scott

web:	http://www.doubleu.com/
email:	scott@doubleu.com
phone:	(606) 578-0412

This is the small print.  All products or trademarks mentioned in this program are trademarks of their respective trademark holders.  Notably, NeXT and NeXTSTEP are trademarks of NeXT Computer, Inc..

TimeMon is Copyright ã 1991, 1992, 1993, 1994  by Scott Hess.  Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that this copyright notice appear in all copies.  Scott Hess makes no representations about the suitability of this software for any purpose.  It is provided "as is" without express or implied warranty.

This is the really small print.
And this is the really small print.