home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Utilities / top-0.5-MI / Changes < prev    next >
Encoding:
Text File  |  1995-03-02  |  21.9 KB  |  443 lines

  1. Thu Mar  2 1995 - wnl (3.3 RELEASE)
  2.     Added module netbsd10 and renamed netbsd to netbsd08.  Changed
  3.     Configure so that it does not use an initial default module name.
  4.     Made other compatability fixes to Configure.  Added comments to
  5.     decosf1 concerning optimizer bug.  Other documentation changes.
  6.     Added use of "prime.c" to Configure script.
  7.  
  8. Tue Feb  7 1995 - wnl (3.3beta6)
  9.     Still one more beta....
  10.     Fixes for sunos5 2.4 gcc core dump (it was an alignment problem).
  11.     Fixed and improvements for decosf1 (including use of format_k
  12.     for proper SIZEcolumn formatting).  Added modules freebsd20 and
  13.     ncr3000.
  14.  
  15. Thu Feb  2 1995 - wnl (3.3beta5)
  16.     One more beta....
  17.     Fixed a few bugs in the sunos5 port pertaining to casting and
  18.     very large memory counts.  Added "ifndef HAVE_GETOPT" to getopt.c
  19.     to provide for conditional compilation of the getopt function.
  20.     Those systems that have getopt in libc can add -DHAVE_GETOPT to
  21.     the CFLAGS line in the module to prevent the function from being
  22.     compiled.  Added sunos54 module to accomodate SunOS 5.4
  23.     peculiarities.  Added module for aux3.1.
  24.  
  25. Wed Jan  4 1995 - wnl (3.3beta4)
  26.     This is really taking too long......sigh.
  27.     Fixed SIGWINCH handling    once and for all.  It now remembers the
  28.         number of processes you    want displayed even thru window resizes.
  29.     Fixed buffer conflict in utils.c (itoa and itoa7).
  30.         Lots of small improvements to the various modules were made over
  31.     the past month: too numberous to list here.  SunOS 5 module made
  32.     more secure thru use of seteuid calls (other SVR4 modules should
  33.     be modified similarly).  One final MP fix to sunos5, too.  Module
  34.     for decosf1 was modified to accomodate V3.0.
  35.  
  36. Mon Apr 18 1994 - wnl (3.3beta3)
  37.     I think I finally got a sunos5 module that will work on MP
  38.     machines.  Fixed cpu states figure in osmp41a so that 
  39.     percentages never exceed 100%.  Added shell script "install"
  40.     since Unix vendors can't seem to make up their minds on what
  41.     options they want to use for the one that comes with the OS.
  42.     Added netbsd modules from Christos.  Fixed lots of other little
  43.     things over the past few months that I have long since forgotten.
  44.  
  45. Wed Dec 15 1993 - wnl (3.3beta2)
  46.     Added module patches from various users:  hpux9, sunos5.
  47.     Fixed bug with batch mode (screen_width wasn't getting set).
  48.     Changes to accomodate 64 bit machines.
  49.     Fixed some bugs in command parsing ("renice 19 " did something
  50.     unexpected).
  51.  
  52. Mon Aug 30 1993 - wnl (3.3beta)
  53.     Added lots of little patches from various users.
  54.     Added routines to utils.c for intelligent formatting of kilobytes
  55.     and time.  These are intended to be used in the modules when
  56.     formatting a process line.  Added code to "summary_format" in
  57.     display.c to do intelligent formatting of memory quantities.
  58.     Redid display.c to allow for varying line widths and dynamic
  59.     reallocation of the screen buffer.
  60.     Added a SIGWINCH handler to top.c!
  61.     Added a constant, MAX_COLS, to top.h which defines the absolute
  62.     widest line we will ever allow.  Changed allocations of "char fmt"
  63.     in all machine modules to use this constant rather than an abitrary
  64.     number.
  65.  
  66. Fri Aug 13 1993 - wnl (3.3)
  67.     Changed return value definition of time-related functions in top.c,
  68.     display.c, and m_ultrix4.c to time_t (stuart@coral.cs.jcu.edu.au).
  69.     Fixed bug in display.c: line_update when start != 0.
  70.  
  71. Wed Aug  4 1993 - wnl (3.2 release)
  72.     Changes to Configure from Paul Vixie.  Added modules for hpux9 and
  73.     bsd386.
  74.  
  75. Tue Jul 13 1993 - wnl (3.1 release)
  76.     More small changes and minor bug fixes.  Brought bsd44 up to date
  77.     and added a module for svr4.2.  Changed shar packaging to use Rich
  78.     Salz's cshar stuff.
  79.  
  80. Wed Jul  7 1993 - wnl (3.1BETA)
  81.     More changes and bug fixes to Configure.  Applied some other
  82.     minor bug fixes and suggestions from the beta testers.  Added
  83.     the "metatop" shell script and the "installmeta" rule to the
  84.     Makefile to make handling multiple machine models and OS versions
  85.     easier.  Added INSTALL and FAQ files.
  86.  
  87. Tue May 18 1993 - wnl (3.1BETA)
  88.     Changed Configure to be compatible with most SVR4 environments
  89.     (differing output from "ls -lg").  Also changed Configure,
  90.     Makefile.X, etc., to look for module files in the subdirectory
  91.     "machine" (thanks to Christos Zoulas).
  92.  
  93. Tue Apr 20 1993 - wnl (3.1BETA)
  94.     Changed both occurences of "ls -1" in Configure to "ls".  This
  95.     SHOULD produce the same result, and has the advantage that it
  96.     doesn't produce an error on a system 5 machine.  Integrated other
  97.     changes recommended in the first round of beta testing.
  98.  
  99. Wed Mar 10 1993 - wnl (3.1BETA)
  100.     MAJOR CHANGE:  I have added a required function to all machine
  101.     dependent modules, called proc_owner.  It takes a pid as an argument
  102.     and returns the uid of the process's owner.  Such capability is 
  103.     necessary for top to run securely as a set-uid program, something
  104.     that is needed for SVR4 implementations to read /proc.  I have
  105.     retrofitted all modules except dgux with this function, but was
  106.     not able to test most of them.  Top should now run securely as
  107.     a setuid program.  Added 386bsd and sunos5 modules.  Added sunos4mp
  108.     module for MP Suns.
  109.  
  110. Sat Feb 20 1993 - wnl (3.1ALPHA)
  111.     Modified top.c and commands.c to compile correctly on System V
  112.     derived Unixes (especially SVR4), but in a way that doesn't rely
  113.     on an oracle-like declaration (that is, I don't use "ifdef SYSV").
  114.     Fixed some bugs in "Configure" and "getans".  Added inspection of
  115.     env variable "TOP" for options, and made -I default to showing
  116.     idle processes.  Added "u" command to change username restriction
  117.     on the fly.  Created shell script "suntop" for poor multi-version
  118.     SunOS folks (like myself).
  119.  
  120. Wed Jun  3 1992 - wnl (3.0)
  121.     "max_topn" wasn't being used everywhere it was supposed to be
  122.     in top.c.  Many cosmetic changes, including copyright notices in
  123.     all the .c files.  Version number is now handled by version.c and
  124.     reflects the current patchlevel (which is initially set to 0).
  125.     Changed Configure and Makefile to allow configurable variables for
  126.     certain commands:  shell, cc, awk, install.  Updated README and
  127.     Porting.  Ready to release to the world!
  128.  
  129. Mon May 18 1992 - wnl (2.9BETA)
  130.     Added modules provided by Christos Zoulas.  Replaced screen.c
  131.     with one modified by Christos and that will appropriately select
  132.     and handle the sgtty, termio, or termios system.  Integrated many
  133.     other changes recommended by Christos.  Fixed (I hope) the "-b"
  134.     batch mode display bug.  Had to change loadavg to load_avg to avoid
  135.     a conflict with 4.4BSD.  
  136.  
  137. Mon Apr 27 1992 - wnl (2.8BETA)
  138.     Added modules provided by Daniel Trinkle.  Added patchlevel.h,
  139.     but the patch level is not yet reflected in the version number.
  140.     Cleaned up m_sunos4.c a little.
  141.  
  142. Wed Apr 22 1992 - wnl (2.8BETA)
  143.     Major internal reorganization.  All of the system dependent stuff
  144.     is now really and truly separated from everything else.  The
  145.     system dependent functions are contained in a separate .c file
  146.     called a "module".  The Configure script knows how to find and
  147.     set up these modules, but the human installer still needs to tell
  148.     Configure which module to use (no automagic determination of 
  149.     machine type---sorry).  Added -U option to specify one user's
  150.     processes, but there is no corresponding command...yet.  Other
  151.     changes and improvements too numerous to mention here.  Currently
  152.     there are only two modules:  sunos4 and umax.  But after this beta
  153.     release is sent around, I expect more to be written.  I just hope
  154.     that the machine-dependent abstractions don't need to change in
  155.     the process.
  156.  
  157. Thu Mar 26 1992 - wnl (2.7BETA)
  158.     Beta release with minimal architecture support.  Updated README
  159.     and added a first cut at a Porting guide.  Added ioctl TIOCGWINSZ
  160.     code from top2.5+ (courtesy of David MacKenzie).  I didn't even
  161.     try porting the Ultrix support since I don't have access to an
  162.     Ultrix machine.
  163.  
  164. Fri Oct 11 1991 - wnl (2.6)
  165.     This version was not widely released.  It contained many changes.
  166.     Here are the major ones:
  167.  
  168.     Put in Vixie's idle process hack.
  169.  
  170.     Enhanced type field in new_message to handle delayed messages.
  171.  
  172.     Changed u_process to automatically adjust for varying lines of
  173.     output.  Management of screenbuf should now be completely contained
  174.     in display.c.  Removed now extraneous code from CMD_number[12]
  175.     portion of command switch in top.c.  This was the stuff that dealt
  176.     with zeroing out lines in screenbuf.
  177.  
  178.     Finally made it all work correctly on a 386i.  Problems I had to
  179.     overcome: kvm_nlist doesn't return 0 on success as advertised (it
  180.     returns 1 instead); the results of a kvm_nlist are different
  181.     (n_type can be zero even for a symbol that exists).
  182.  
  183.     Serious rearrangement for processor dependent stuff.  All nlists
  184.     are now in separate files with the suffix ".nlist".  Most machine
  185.     specific code is in "machine.c" surrounded by appropriate ifdefs---
  186.     the goal is to eventually have all machine specific code in this
  187.     file.  Managed to find a way to detect SunOS 4.x at compile-time:
  188.     this is contained in the include file "sun.h".  Completely changed
  189.     the memory display line for SunOS 4.x---it now displays a far
  190.     more appropriate report.
  191.  
  192.     Created the shell script "Configure" to aid in the configuration
  193.     step.
  194.  
  195.     Fixed a bug in init_termcap:  it will now tolerate an environment
  196.     which does not have TERM defined (thanks to Sam Horrocks for
  197.     pointing this out).
  198.  
  199. Tue Aug  9 1988 - wnl (2.5)
  200.     Added changes to make top work under version 4.0 of the Sun
  201.     operating system.  Changes were provided by Scott Alexander of the
  202.     University of Pennsylvania.  Thanks!  Compile with "-Dsunos4" to
  203.     get them.  Virtual memory statistics are not readily accessible
  204.     under 4.0, so they don't show up in the output.
  205.  
  206. Thu Jul 31 1987 - wnl (2.4)
  207.     Fixed a problem with the 4.0 Pyramid code.  The label "cp_time"
  208.     doesn't exist in the 4.0 kernel anymore.  I think the code Carl
  209.     sent me wants "percpu" instead.  That is what I am using and it
  210.     appears to work.  375 code is still untested (at least by me).
  211.     Also picked a great deal of lint out of the source.  Lint now only
  212.     complains about a very few nitpicky things (there are far too many
  213.     calls to "printf" to put a "(void)" in front of!), at least under
  214.     SunOS.
  215.  
  216. Tue Jul 28 1987 - wnl (2.4a)
  217.     Added changes for a Symmetrics Computer Systems s/375 machine.
  218.     Changes were provided by Paul Vixie.  Thanks!  According to Mr.
  219.     Vixie:  "These changes were not made at, by, or for SCS proper.
  220.     SCS would probably be interested in them, but so far only the
  221.     users' group has them.  They were made in February, 1987, to
  222.     version 2.1 of the program, by Paul Vixie
  223.     (dual!ptsfa!vixie!paul@ucbvax.Berkeley.EDU)."  His changes were
  224.     integrated into version 2.3 to make version 2.4.
  225.  
  226.     The SCS peculiarities are summarized in Changes.scs.
  227.  
  228. Tue Jun  9 1987 - wnl (2.3 for real)
  229.     Changed the includes for the extra code Carl sent me to only
  230.     compile on Version 4.0 Pyramid machines.  This makes top still
  231.     compilable on pre-4.0 Pyramids.  Specifically, this code is only
  232.     compiled when both "pyr" and "CPUFOUND" are defined.
  233.  
  234. Wed Jun  3 1987 - wnl (2.3 with Pyramid additions)
  235.     It's been a month and I still haven't done anything about
  236.     distributing this version.  However, Carl Gutekunst from Pyramid
  237.     has sent me some extra patches for some of the Pyramid code.  I
  238.     just added those and will make them part of 2.3.  This fixes the
  239.     following Pyramid problems:  adds the inclusion of <sys/systm.h>,
  240.     uses the correct size for getting the kernel value _ccpu (this bug
  241.     affected the Vax version as well), sums the elements of the percpu
  242.     array to calculate a cp_time value (for OSx 4.0).
  243.  
  244. Fri May  1 1987 - wnl (2.3)
  245.     I have finally finished all the changes for better support of
  246.     oddbal terminals.  Added the low-level routine "clear_eol" which
  247.     makes handling terminals without "ce" easy:  it uses spaces
  248.     instead.  All direct uses of "clear_line" outside of screen.c have
  249.     been changed to use this primitive.  A terminal with "os" is now
  250.     handled in such that all situations that need overwriting are
  251.     completely avoided (including several commands).  This required
  252.     some changes to the way commands are translated into action (in
  253.     "top.c").  Made several important changes to display.c to prevent
  254.     overflowing of any of the fields.  Specifically, more than 99
  255.     total processes and a cpu state that reaches 100%.  Had to make a
  256.     small change to two casts in top.c, because the Sun 3.2 compiler
  257.     was giving warnings on them.  Added the "-q" option which lets
  258.     root run top at a nice of -20 (in case he thinks he really needs it).
  259.  
  260. Tue Dec 30 1986 - wnl (2.2)
  261.     I think I fixed a bug reported by Julian Onions at Nottingham.
  262.     Occasionally, top will core dump when the sprintf in either
  263.     i_process or u_process overflows due to an exceptionally
  264.     unrealistic time value.  I think it highly unlikely that top can
  265.     get a bad proc structure (although I suppose it is possible), but
  266.     the process time is read from the user structure, and that can
  267.     sometimes be part garbage.  So, "get_ucpu" checks the value it
  268.     returns to make sure its formatted form will not overflow the
  269.     sprintf.  If this doesn't fix the bug, then more drastic measures
  270.     will be necessary.  I plan to make this version the official
  271.     "top 2.2".  [[ This version was never distributed very widely. ]]
  272.  
  273. Tue Dec  2 1986 - wnl (2.2c)
  274.     Added to top.c the notion of a "failed command".  When a command
  275.     produces a message (on the message line), an update does not
  276.     follow it.  Before, the message was written and a new display was
  277.     shown---purposefully not overwriting the message.  But the
  278.     improvements to handle overstriking terminals and terminals
  279.     without "ce" clear the screen before every display, which would
  280.     erase the message.  Now, the message is displayed and top waits
  281.     another full time interval before updating the display.  This
  282.     works much better all around.
  283.  
  284. Mon Nov 24 1986 - wnl (2.2b)
  285.     Created a new file, utils.c, and made appropriate changes to
  286.     Makefile.  This new file holds all utility functions that can and
  287.     may be used by more than one "module".  Improved i_memory and
  288.     u_memory (display.c) so that screen updates for the values
  289.     displayed are only changed when necessary.  Also made the line
  290.     look better:  the last fixes made for a rather ugly display.
  291.     Added the locally defined constant "LoadMax" and added code to
  292.     top.c to send the cursor home after a space command is entered if
  293.     the load average is higher than "LoadMax".  This provides visual
  294.     feedback on loaded systems.
  295.  
  296. Mon Nov  3 1986 - wnl (2.2a)
  297.     Widened the format for memory usage so that it can display 5
  298.     digits.  This makes that line look a little ugly---maybe I'll fix
  299.     that later.  Screen handling now understands "os" and a missing
  300.     "ce".  It treats them identically:  clear the screen between each
  301.     display.  Screen handling code now uses "cd" when appropriate
  302.     (i.e.:  when user has shortened the screen).  Made i_loadave clear
  303.     then screen and took out most of the explicit calls to "clear" in
  304.     top.c.  This method is cleaner, especially in conjunction with
  305.     "os" handling.  Added preprocessor variable "RANDOM_PW" for
  306.     systems that access the passwd file randomly (Sun's yp and 4.3).
  307.     With "RANDOM_PW" set, "getpwuid" is used instead of "getpwnam",
  308.     but uid->username mappings are still hashed internally (because
  309.     that is still faster than going to disk).
  310.  
  311. Mon Oct  6 1986 - wnl (2.1)
  312.     A bug with the kill command was pointed out by "dciem!tim"---
  313.     specifying a signal by name did not work correctly.  This bug has
  314.     been fixed with a simple change to commands.c.  Another bug made
  315.     the cpu state percentages incorrect the first time they were
  316.     displayed.  This bug has also been fixed (changed top.c).
  317.  
  318. Thu Sep  4 1986 - wnl (2.0, at last)
  319.     This is the version that will (hopefully) get released to the
  320.     world as top 2.0.
  321.     Added the "r" and "k" commands for renice and kill, respectively.
  322.     This required adding a way to handle system call errors, and the
  323.     addition of the "e" command.  Help screen and manual page were
  324.     changed to reflect this change.  Changed all "#ifdef SUN" directives
  325.     to "#ifdef sun", and changed all "#ifdef PYRAMID" directives to
  326.     "#ifdef pyr".  As much as I hate those choices of preprocessor
  327.     names (they too easily conflict with real variable names), it does
  328.     make automatic compilation possible---people don't have to change
  329.     the Makefile anymore for specific machines.  The manual page was
  330.     changed to automatically incorporate the defaults as set in the
  331.     Makefile (including an infinite value for TOPN) and the way the
  332.     manual page is generated by the Makefile was changed to make
  333.     maintenance of this information automatic.
  334.  
  335. Mon Jul 28 1986 - wnl (still pre 2.0)
  336.     Real close now.  I put in a new definition for the macro "pagetok"
  337.     that does an explicit shift of a constant expression involving
  338.     PGSHIFT.  Appropriate checks are made if PGSHIFT is to small.
  339.     "pagetok" is now used exclusively everywhere to convert kernel
  340.     clicks to kilobytes.  I added a full blown interactive mode with
  341.     the ability to change some of the runtime parameters (how many to
  342.     display, time delay, etc.) while top is running.  I also
  343.     incorporated a few ideas from the net:  control characters in the
  344.     command name are replaced with '?'; the '-S' option makes the
  345.     swapper and pager visible; options have been added to control the
  346.     number of displays produced (this makes it easier to make
  347.     performance snapshots with top).  I have also added the notion of
  348.     "infinite" values for number of processes and number of displays.
  349.     I fixed a long-standing bug in the uid to username mapping code
  350.     that was only aggravated on the pyramids:  it was an ill-defined
  351.     expression (akin to i = i++).  I tweaked the proc_compar routine
  352.     for qsort slightly so that stopped processes were more likely to
  353.     show up.  Manual page was updated to reflect all changes
  354.     noticeable to the user.
  355.  
  356. Tue Jul  1 1986 - wnl (pre 2.0 -- 1.9999?)
  357.     In the process of major revamping on the way to version 2.0.
  358.     I have completely done away with curses by adding my own screen
  359.     management routines in a separate file (screen.c).  The rationale
  360.     for this is that top knows a whole lot more about what is and is
  361.     not redundant on the screen and can compare simple integer values
  362.     where curses would have to compare strings.  This has turned out
  363.     to be a very big win speed-wise.  The proc_compar routine for
  364.     sorting has been rewritten to include several more keys.  I
  365.     decided this was necessary when I noticed that the "top" process
  366.     itself kept disappearing off the top 10 list on a Sun-3.  All the
  367.     processes had the same percentage (0%) and the sort wasn't really
  368.     doing anything worthwhile.  I changed the expression that computes
  369.     memory usage to use the ctob macro instead of just assuming that
  370.     pages were 512 bytes.  More work still needs to be done before
  371.     this version is usable.  I changed options-processing to use
  372.     getopt and added appropriate incantations to the Makefile.
  373.  
  374. Wed Feb 20 1985 - wnl (still 1.8)
  375.     Put in the ifdef FOUR_ONE statements to make top still compilable
  376.     on a 4.1 system.  Apparently, there are some users out there that
  377.     need this functionality.  Oh well.  I don't guarantee any of it,
  378.     since I can't test it.  Made appropriate changes to README and
  379.     final installation related changes to Makefile.
  380.  
  381. Sat Feb  2 1985 - wnl (1.8)
  382.     Removed all the ifdef FOUR_TWO statements and made "top" into a
  383.     4.2 only program.  If someone really wants to still run it on 4.1,
  384.     then they can do all the work.  We don't have a 4.1 machine
  385.     anymore, so I don't even know if the thing still works under 4.1.
  386.     Cleaned up the Makefile and the README.  Added installation rules
  387.     to the Makefile, as requested by several sites.  Fixed a very
  388.     obscure divide-by-zero bug.  Added a second "key" to the qsort
  389.     comparison function (proc_compar) so that comparisons are based on
  390.     cpu ticks if the percentages are equal (provided by Jonathon
  391.     Feiber at Sun).
  392.  
  393. Tue Dec 11 1984 - wnl (1.7)
  394.     Added the virtual and real memory status line to the header area
  395.     (provided by Jonathon Feiber at Sun)
  396.  
  397. Tue Nov 20 1984 - wnl (1.6)
  398.     Added an "exit" if sbrk's fail.  Added changes from Jonathon
  399.     Feiber at Sun:  ifdef SUN to make top work on Suns (they don't use
  400.     doubles in the proc structure), register declarations, check for
  401.     getting a user structure that has disappeared since the proc array
  402.     was read (it used to die, now it just shows the process as swapped).
  403.  
  404. Tue Nov 13 1984 - wnl (1.5)
  405.     If the number of displayable processes ("active_procs") was less
  406.     than the number of requested processes ("topn"), top would
  407.     segmentation fault.  This bug has been fixed.  Thanks to Prentiss
  408.     Riddle at ut-sally for pointing out the existence of this bug.
  409.  
  410. Tue Oct 23 1984 - wnl (1.4)
  411.     Finally fixed the hash table bug that caused processes owned by
  412.     root to sometimes appear with either no name or a different name
  413.     that had UID 0 (such as "operator").  Removed all the ifdef DEBUG
  414.     blocks to make top ready for distribution to the real world.
  415.  
  416. Sun Apr  8 1984 - wnl (still 1.3)
  417.     Made some slight changes to the display format.  It now looks more
  418.     aesthetically pleasing.  Added some preprocessor constants so that
  419.     the two defaults (number of processes and seconds of delay) easier
  420.     to change.
  421.  
  422. Thu Apr  5 1984 - wnl (1.3)
  423.     Changed the order in which things are done at initialization time.
  424.     This way, if an error occurs before starting the main loop, curses
  425.     will never get started.  Also changed other error handlers so that
  426.     endwin() is called before any flavor of exit.  Specifying a number
  427.     of processes that is more than the screen can handle is no longer
  428.     fatal.  It displays a warning message and pretends the user
  429.     specified the maximum for the screen.  Finally cured all the TSTP
  430.     blues (well, almost all).  I removed my TSTP handler and convinced
  431.     the system to always use the one that curses sets up.  Turns out
  432.     that "sleep" was stepping all over it during a pause.  So, I don't
  433.     use sleep anymore.  The only problem that remains with it now is
  434.     redrawing the old display before updating it after a pause.
  435.  
  436. Tue Apr  3 1984 - wnl (from 1.0 to 1.2)
  437.     I changed the format of the TIME column from just "seconds" to
  438.     "minutes:seconds".  I also made pausing work correctly.  Screen
  439.     redraws with an up to date display.  For compatibility with 4.2, I
  440.     changed the name of the "zero" function to "bzero".  The makefile
  441.     has been altered to handle versions for 4.1 and 4.2, and README
  442.     has been updated to reflect these recent changes.
  443.