📄 changes
字号:
Thu Mar 30 2000 - wnl (3.5beta12) Updated modules: m_aix41.c, m_aix43.c, m_mtxinu.c, m_sco5.c, and m_ultrix4.c. Included m_irixsgi.c from some source that's been floating around SGI. Don't yet know how it compares to m_irix62.Fri Mar 10 2000 - wnl (3.5beta11) top.c: avoid potential loop if stdout gets closed, use macro for p_active to avoid collision with system macros. m_sunos5: widened some fields to accomodate 5.8. m_decosf1: added ordering support m_irix62_64: provides 64-bit module based on m_irix62. m_irix62: skip bogus files in /proc directory m_svr42MP and m_svr5: complete replacement with updated copies m_mtxinu: complete replacement with updated copies m_aix43: new module for 4.3 getans: replaced with a Bourne shell scriptMon Mar 6 2000 - wnl (3.5beta10) m_sunos5.c: workaround for curses bug: ensure that TERMINFO has a value.Fri Jan 15 1999 - wnl (3.5beta10) top.c: now check return code from read to avoid looping on eof. top.c: delay of 0 now only valid for root. decosf1.c: patches from Rainer Orth should fix most of the problems with this module (including the display of certain processes and runtime errors). sunos5.c: Rainer insisted on putting the slash back in the state field ("run/4") and widened the field to accomodate it. aix.c: widened PID field for 6-digit pids (shortened NICE field) module macosx added, thanks to Andrew Townley.Fri Dec 18 1998 - wnl (3.5beta9) Configure checks status of "make" and complains if it fails.Thu Dec 17 1998 - wnl (3.5beta9) Added module sco5 from Mike Hopkirk. Added module netbsd132 from moto kawasaki.Sun Oct 25 1998 - wnl (3.5beta9) Added Casper's patches for sunos5 for the following: produce same results as swap -s (5.5 and higher), don't use system_pages kstat when /dev/kmem can be opened, skip . and .. when reading /proc, replace use of SOLARIS24 with OSREV.Fri Sep 11 1998 - wnl (3.5beta9) Added workaround to getans for the absence of $< in SCO Unix.Wed Jul 1 1998 - wnl (3.5beta9) Changed structure member "errno" to "errnum" in commands.c. Replaced hpux10 module with one from John Haxby.Fri Apr 17 1998 - wnl (3.5beta8) Moved definition of _KMEMUSER earlier in m_sunos5.c. This should fix the compilation problem with gnu 2.7.2.3, obviating the need for the fixinc.svr4 patch, but hopefully will not affect anything else. Added -DORDER to m_sunos4mp.cTue Nov 18 1997 - wnl (3.5beta7) Added gcc 2.7.2.3 patch for fixinc.svr4 and changed INSTALL and FAQ to refer to it. Added NetBSD HP9000 fix. Hopefully it doesn't break other NetBSD platforms.Fri Oct 24 1997 - wnl (3.5beta7) Modified m_dcosx.c to change uses of procdir to xprocdir, avoiding a name clash with an include file (Bryn Parrott)Sat Oct 11 1997 - wnl (3.5beta6) Incorporated Casper's patches for Solaris 2.6 and for the multi- processor bug ("kstat finds too many cpus").Sun Jan 20 1996 - wnl (3.5beta5) Fixed Casper's m_sunos5 module: there was a poor interaction with his use of OSREV and SunOS 5.5.1.Fri Dec 20 1996 - wnl (3.5beta4) Replaced m_sunos5 with a reworked version by Casper Dik. This one should work under 2.6 and may not require that top be run setuid to root under 2.5 or 2.6. This also fixed a bug in m_sunos5 that was introduced in beta3. Fixed calculation of OSREV in Configure.Wed Nov 20 1996 - wnl (3.5beta3) Incorporated contributed fixes to: bsdos2, irix62, freebsd20, ultrix4, sunos5. Changed calculation of swap area in sunos5 (now uses swapctl). sunos5 now understands idled processors. Changed Configure to determine os revision using uname (when available) and adding it to machine.c compiliation in Makefile as -DOSREV. Changed calls to "exit" in modules to use "quit" instead.Oct 20 1996 - wnl (3.5beta3) Removed "time" from list of ordering choices: there's no easy way to get cpu time for all processes (it's in the u area).Fri Oct 18 1996 - wnl (3.5beta3) hpux10 and hpux9: using a better means for determining when a process is idle. decosf1 now includes utils.h.Fri Sep 13 1996 - wnl (3.5beta2) Fixed Configure to build Make.desc in such a way that doesn't require a long argument to sed.Thu Sep 12 1996 - wnl (3.5beta2) Fixed bug in display.c that affected empty cpustate names. Created hpux1010 module - a variant of hpux10 that does not use struct proc or struct user (suitable for HP/UX 10.10).Wed Sep 11 1996 - wnl (3.5beta2) Changes to sunos5 module: Removed WCPU column since it is meaningless on a SVR4-based system. Added THR column to show number of threads for each process. This was not straightforward: the information is not stored in prpsinfo but rather in prstatus.Tue Sep 10 1996 - wnl (3.5beta1) Added patches for sunos4mp to provide order support. Added irix62 module. Changed prime.c to include stdio.h for printf prototype. Added conditional code to os.h and utils.c to handle systems where sys_errlist is defined in stdio.h (such as NetBSD).Mon Sep 09 1996 - wnl (3.5beta1) Removed tar and shar rules from Makefile.X -- don't need them anymore. Added -v option to display version number. Updated man page.Thu Aug 29 1996 - wnl (3.4) Replaced modules (from Tim Pugh): next 32, next40. Fixed bug in username.c: hashing negative uids.Thu Aug 22 1996 - wnl (3.4beta3) Patched modules: ultrix4, sunos4, sunos5, utek, decosf1, irix5. Added modules: next40, next32. Fixed procstates update bug in display.c. Fixed divide by zero bug in utils.c. Fixed bad number in layout.h Minor fixes to Configure. Complete overhaul of FAQ.Tue Feb 13 1996 - wnl (3.4beta3) Added convex module from Warren Vosper (originally written by William Jones).Tue Feb 13 1996 - wnl (3.4beta2) Fixed format_k in utils.c to calculate K and M values correctly. Added check for gigabyte values ('G'). Changed sumamry_format in display.c to use format_k where appropriate. Changed creation of distribution tar file to place everything in a top level directory.Tue Jan 30 1996 - wnl (3.4beta2) Added m_aix41 module. Added new tag type to module comments: TERMCAP, which defined the library to use for a termcap library. If no TERMCAP tag is found in the module's initial comment, then Configure will default to "-ltermcap". AIX needs this since it put all the termcap routines in libcurses(!) Added m_bsdos2 (found lingering in my mailbox). Updated m_svr4 to include support for NCR multiprocessors. Fixed small bug in utils.cThu Jan 25 1996 - wnl (3.4beta1) Fixed m_sunos5 invocation of gettimeofday to include "NULL" as second argument. This provides compatability with the Posix- compliant template provided with SunOS 5.5, but doesn't hurt previous versions since they do bother with a template for that function. Made changes (recommended by net users) to hpux10, ultrix4, netbsd10, aux3 (replaced aux31). Added module for linux.Fri Oct 10 1995 - wnl (3.4beta1) Added user-contributed modules for SCO Unix, IRIX 5, HP/UX 10, Pyramid DC/OSX. Changed Configure so that it runs in environments whose c-shells have no 'eval'(!). Added support for multiple sort ordering methods via the -o switch. This option requires support from the machine dependent module: such support was added to sunos5 (thus sunos54) and sunos4. display.c: Changed CPU states display line to shorten the leading tag if the data won't fit in the current width. Fixed a divide-by- zero bug that affected ultrasparc servers (and potentially other systems). m_sunos5.c: Now asks the system for the correct pagesize rather than assuming it is 4K.Thu Mar 2 1995 - wnl (3.3 RELEASE) Added module netbsd10 and renamed netbsd to netbsd08. Changed Configure so that it does not use an initial default module name. Made other compatability fixes to Configure. Added comments to decosf1 concerning optimizer bug. Other documentation changes. Added use of "prime.c" to Configure script.Tue Feb 7 1995 - wnl (3.3beta6) Still one more beta.... Fixes for sunos5 2.4 gcc core dump (it was an alignment problem). Fixed and improvements for decosf1 (including use of format_k for proper SIZE column formatting). Added modules freebsd20 and ncr3000.Thu Feb 2 1995 - wnl (3.3beta5) One more beta.... Fixed a few bugs in the sunos5 port pertaining to casting and very large memory counts. Added "ifndef HAVE_GETOPT" to getopt.c to provide for conditional compilation of the getopt function. Those systems that have getopt in libc can add -DHAVE_GETOPT to the CFLAGS line in the module to prevent the function from being compiled. Added sunos54 module to accomodate SunOS 5.4 peculiarities. Added module for aux3.1.Wed Jan 4 1995 - wnl (3.3beta4) This is really taking too long......sigh. Fixed SIGWINCH handling once and for all. It now remembers the number of processes you want displayed even thru window resizes. Fixed buffer conflict in utils.c (itoa and itoa7). Lots of small improvements to the various modules were made over the past month: too numberous to list here. SunOS 5 module made more secure thru use of seteuid calls (other SVR4 modules should be modified similarly). One final MP fix to sunos5, too. Module for decosf1 was modified to accomodate V3.0.Mon Apr 18 1994 - wnl (3.3beta3) I think I finally got a sunos5 module that will work on MP machines. Fixed cpu states figure in osmp41a so that percentages never exceed 100%. Added shell script "install" since Unix vendors can't seem to make up their minds on what options they want to use for the one that comes with the OS. Added netbsd modules from Christos. Fixed lots of other little things over the past few months that I have long since forgotten.Wed Dec 15 1993 - wnl (3.3beta2) Added module patches from various users: hpux9, sunos5. Fixed bug with batch mode (screen_width wasn't getting set). Changes to accomodate 64 bit machines. Fixed some bugs in command parsing ("renice 19 " did something unexpected).Mon Aug 30 1993 - wnl (3.3beta) Added lots of little patches from various users. Added routines to utils.c for intelligent formatting of kilobytes and time. These are intended to be used in the modules when formatting a process line. Added code to "summary_format" in display.c to do intelligent formatting of memory quantities. Redid display.c to allow for varying line widths and dynamic reallocation of the screen buffer. Added a SIGWINCH handler to top.c! Added a constant, MAX_COLS, to top.h which defines the absolute widest line we will ever allow. Changed allocations of "char fmt" in all machine modules to use this constant rather than an abitrary number.Fri Aug 13 1993 - wnl (3.3) Changed return value definition of time-related functions in top.c, display.c, and m_ultrix4.c to time_t (stuart@coral.cs.jcu.edu.au). Fixed bug in display.c: line_update when start != 0.Wed Aug 4 1993 - wnl (3.2 release) Changes to Configure from Paul Vixie. Added modules for hpux9 and bsd386.Tue Jul 13 1993 - wnl (3.1 release) More small changes and minor bug fixes. Brought bsd44 up to date and added a module for svr4.2. Changed shar packaging to use Rich Salz's cshar stuff.Wed Jul 7 1993 - wnl (3.1BETA) More changes and bug fixes to Configure. Applied some other minor bug fixes and suggestions from the beta testers. Added the "metatop" shell script and the "installmeta" rule to the Makefile to make handling multiple machine models and OS versions easier. Added INSTALL and FAQ files.Tue May 18 1993 - wnl (3.1BETA) Changed Configure to be compatible with most SVR4 environments (differing output from "ls -lg"). Also changed Configure, Makefile.X, etc., to look for module files in the subdirectory "machine" (thanks to Christos Zoulas).Tue Apr 20 1993 - wnl (3.1BETA) Changed both occurences of "ls -1" in Configure to "ls". This SHOULD produce the same result, and has the advantage that it doesn't produce an error on a system 5 machine. Integrated other changes recommended in the first round of beta testing.Wed Mar 10 1993 - wnl (3.1BETA) MAJOR CHANGE: I have added a required function to all machine dependent modules, called proc_owner. It takes a pid as an argument and returns the uid of the process's owner. Such capability is necessary for top to run securely as a set-uid program, something that is needed for SVR4 implementations to read /proc. I have retrofitted all modules except dgux with this function, but was not able to test most of them. Top should now run securely as a setuid program. Added 386bsd and sunos5 modules. Added sunos4mp module for MP Suns.Sat Feb 20 1993 - wnl (3.1ALPHA) Modified top.c and commands.c to compile correctly on System V derived Unixes (especially SVR4), but in a way that doesn't rely on an oracle-like declaration (that is, I don't use "ifdef SYSV"). Fixed some bugs in "Configure" and "getans". Added inspection of env variable "TOP" for options, and made -I default to showing idle processes. Added "u" command to change username restriction on the fly. Created shell script "suntop" for poor multi-version SunOS folks (like myself).Wed Jun 3 1992 - wnl (3.0) "max_topn" wasn't being used everywhere it was supposed to be in top.c. Many cosmetic changes, including copyright notices in all the .c files. Version number is now handled by version.c and reflects the current patchlevel (which is initially set to 0). Changed Configure and Makefile to allow configurable variables for certain commands: shell, cc, awk, install. Updated README and Porting. Ready to release to the world!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -