 History
 =======
 13aug1998         Marcel Mol
                       Security: Root permissions are removed after opening
                                 /dev/kmem. So we can savely open/create files
                                 and exec other programs (to compress logfiles).
                       Logfiles have info on monitor version and AIX version.
 12jun1998         Marcel Mol
                       Fixed 'top' script.
                       Fixed types in help screen.
 07jun1998         Marcel Mol
                       Tried to determine vmker structure in AIX 4.3 with
                       help of wiggans@aipl.arsusda.gov. As a result, monitor
                       determines what AIX level it is running on and switches
                       to the proper structure encoding. As a sideeffect, the
                       logging code does not write the unknown fields to the
                       logfile anymore.
                       Added 'vmker' program as a helper to view the contents
                       of the vmker kernel structure.
 18may1998         Marcel Mol
                       Included AFS code into public release.
                       Changed NFS code so it matches the stat structures in
                       AIX 4 to allow easy (auto)select between AIX3 and AIX4.
 16apr1998         Marcel Mol
                       Updated docs.
                       Rename/cleanup plot scripts.
                       Fixed few small display bugs (disk+net stats)
 12feb1998         Marcel Mol
                       Calc screen locations for disk and ifnet in _init
                       functions only.
                       More cleanups.
 07jul1997         Marcel Mol
                       Awk script used 'getline' without check on EOF.
 06may1997         Marcel Mol
                       Changing interval times could lead to problems when
                       logmode is also on.
                       Fixed many function/variable declarations,
                       removed unused variables.
                       Merged launch_loadavgd.c into getloadavg.c.
 18apr1997         Marcel Mol
                       Included more suggestions by Makr Larsen:
                           Increased MAXFS and FSSTATLEN in filesys.c.
                           Few typos and extra comments.
                           Inform user when going into daemon mode.
                           Uptime displays up to 100000 days!
                           Made logging of top records sensitive to -r flag.
                           Show procs meminfo in memory table
                           Calc uptime form utmp (BOOT_TIME) if available
 10jan1997         Marcel Mol
                       Changed layout of CPU bargraph to: User, Sys, Wait, Idle.
                       Small optimizations in monprint.c.
                       Sample_time cannot exceed interval_time anymore.
                       Redid key commands in interactive mode: see manual pages
                       for details.
 02dec1996         Marcel Mol
                       Memory sizes in top were sometimes to wide...
 23nov1996         Marcel Mol
                       Fixes/additions based on suggestions by L Mark Larsen
                       <mlarsen@ptdcs2.intel.com>:
                           Process status in top possibly wrong (fixed statstr).
                           Zombie processes wil be named "<defunct>".
                           Add commands to increase/decrease sample time.
                           Do not log NFS filesys info by default (-F).
                       Restarting after suspend refreshed screen many times
                       (for each interval while suspended); Fixed.
 20nov1996         Marcel Mol
                       Changed top layout a bit: 'K' -> 'k' for mem sizes;
                       check memsize for > 1 GB; CPU times go from
                       min:sec to hr:min:sec (if bigger than 1 hour) to
                       days+hr:min (if bigger than 99 hours' to
                       '> 99 days' (if bigger than 99 days).
                       Top output can now be sorted on cputime (press 'c'),
                       pagefaults ('p'), virtual memory ('v') or resident
                       memory ('r').
 01nov1996         Marcel Mol
                       Hm, AIX 3 curses does not understand color...
                       Changed Makefile variables so version numbers
                       and AIX version definitions can be made from the
                       Makefile.
                       Usage shows what AIX version monitor is compiled on.
 27okt1996         Marcel Mol
                       Added FAQ entry: what is kproc?
                       Reversed order of CHANGES file.
                       Uncaught signals would suspend monitor. Now monitor
                       quits with such signals.
                       After resizing or suspension, colors were gone. Fixed
                       by new start_screen() function.
 23okt1996         M.J.E. Mol
                       Improved -H option. Headers can now be given a color,
                       and other suboptions of -H allow to specify colors
                       for the metric names and metric values. Interface needs
                       improvement, and no compile time options (yet).
                       Changed a few leftover RS/6000 to AIX/6000.
                       If a logfile already contains data, no more header
                       comments are added to it. They should be there from
                       the previous run...
                       Updated manual pages a bit.
                       Date/time indicator now stays in topleft corner after
                       resizing.
 16okt1996         M.J.E. Mol
                       Log number of processes in the interval (it used to 
                       be a commented line in the logfile).
                       Only get terminal info when in interactive mode.
                       NFS display is overwritten by processlist when only
                       two network devices exist; fixed. This also solved
                       the mentioned bug in TODO were disk info could be
                       overwritten.
 03okt1996         M.J.E. Mol
                       As show_nfs was 1 by default, daemon mode stopped on
                       tty-output.
                       Top memory info is wrong on big systems: change type to
                       u_long (Michael Staats <michael@thp.Uni-Duisburg.DE>)
 06sep1996         M.J.E. Mol
                       awk scripts: "close sortcom" changed to "close (sortcom)"
 17aug1996         M.J.E. Mol
                       Changed initscreen, so nfs init does not appear in 
                       summary screen (hmm, actually it is more of a 'detail' 
                       screen now:-)
 15jul1996 v2.1.2  Jussi Maki
                       AIX4.2 support: changed columns and lines to numcolumns
                       and numlines (thanks Joe Gross <jgross@uiuc.edu>).
		       Removed "-L." from Makefile due the potential security
                       problem.
		       Added fps -c count option.
                       RELEASED TO PUBLIC.
 26jun1996 v2.11   M.J.E. Mol
                       Added ppid to top structure for logmode. Fixed bug
                       in size of top structure while in logmode.
 19jun1996 v2.10   M.J.E. Mol
                       Monitor window can now be resized.
                       Small bug: sometimes the textcolor changes after resize.
 14may1996 v2.09   M.J.E. Mol
                       Added -H option to toggle highlighting of headers.
                       Changed usage() to display defaults from the actual
                       variables.
                       Production ready :-) Let's go out to the world!
                       Fixed a few typos.
 03may1996 v2.08   M.J.E. Mol
                       Fixed bug in smp logging. 
 14mar1996 v2.07   M.J.E. Mol
                       Change top layout a bit and added global cpu%
                       per process since it started.
                       Fixed interactive commands a bit. There are still
                       some problems in certain key combinations.
                       Added J.Maki's SMP patches from version 1.14 into my
                       2.0.x version: support for SMP machines (-smp)
 29feb1996 v2.06a  M.J.E. Mol
                       Added some more type casting, fixed interactive
                       ^L redraw check, few small cleanups as a result
                       of the AIX 4.1.4 C for AIX compiler...
                       Added fg/bg status indicator in fps.c.
 28jan1996 v2.06   M.J.E. Mol / Jussi Maki
                       Merged Jussi's version 1.13 patches into Marcel's 
                       2.05 version: cludged support for FDDI in AIX4, 
                                     bugfixes for the network part (beta),
                                     added -Count option.
                       Interactive keys do not mess up the screen anymore,
                       and the 'n' key actually shows detailed net stats.
                       Try 'n', 'd', 't' in a row and see what happens.
                       Fixed a few clumsy bugs. Some more cleanup.
 11okt1994 v2.05   M.J.E. Mol
                       Found out some more vmker variables: maxperm is the
                       max size of the buffer cache (e.g. 'files'); a 
                       variable for unpinnable memory, reserved paging space
                       slots, and number and max 'client' memory pages.
 24sep1994 v2.04   M.J.E. Mol
                       Seperate root and normal users in user activity
                       calculation. Interactive monitor shows normal user
                       counts by default. The -R option includes root sessions.
                       The -A option specifies the threshold for active versus
                       incative user session. Default is 60 seconds.
                       Disk and network print/calc funtions in seperate files.
 13sep1994 v2.03   M.J.E. Mol.
                       Hmm, gathering the maxima during the interval 
                       did not occur...
                       Added a subdirectory with a few script to
                       process the logfiles using gnuplot.
                       Added: number of active and remote users and
                              total number of inactive seconds
 07sep1994 v2.02   M.J.E. Mol.
                       Fixed bug in getnusers() (monprint.c):
                       utmp file was not closed, run out of fd's.
                       Fixed display report of totalmem (noticed on
                       a RS/6000-C10 that actually has 'badmem')
 29aug1994 v2.01   M.J.E. Mol.
                       Added umask() call.
 24jul1994 v2.00   M.J.E. Mol.
                       Included new stuff/ideas from Jussi's v1.12.
                       Minor bug fixes.
                       Added uptime entry in logging.
                       Cleanup manual pages.
                       Cleanup and prepare for release -> 2.00.
 31.03.1994 v1.12  M.J.E. Mol. marcel@duteca.et.tudelft.nl
                       Added -l, -i, -S and -L flag: allow to dump the
                       gathered data in a logfile and summarize on intervals.
                       Changes in display output (standout).
                       Changed get_dkstat and get_ifnet code.
                       Synchronise interval/samples.
                       Added filesystem stats for logging.
 10.02.1994 v1.11      Show more disk information with -disk flag and NFS
 22.10.1993 v1.10      Support for aix3.2.4 loadaverage in kernel
 11.05.1992 v1.06      changed putenv to setlocale,
                       changed sleep to select,
                       modifications to runnable for aix3.2
 13.10.1991 v1.05.1    bug fix to vmstat display
 02.9.1991 v1.05       new version 
 14.7.1991             created ChangeLog-file
 10.7.1991 v1.04       release of v1.04 (changed behaviour of q)
 09.7.1991 v1.04b1     added putenv("LANG=En_US") for curses bug
 08.7.1991 v1.04beta   added top cputimeshower (ala top)
 05.7.1991 v1.03       added signal handler
 30.5.1991 v1.02       created loadavgd-server
                       changed getloadavg() interface to bsd-tahoe interface
 29.5.1991 v1.01a dhc: added digit after network interface name 
 24.5.1991 v1.01       added network interface (ifnet) display
 21.5.1991 v1.0beta    added disk-io display
 15.5.1991 v1.0	       Initial version

                ------------------------------------
