⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 Linux下进程监控相关源代码
💻
📖 第 1 页 / 共 2 页
字号:
NEWS: what has changed recently with procps, in reverse cronological order.Please send bug reports to procps-bugs@redhat.comNEWS for version 2.0.7 of procpsSMP support has been added to top.  This adds one line to the screenfor every processor.  There is also an (off by default) field to showthe last processor that a process used that replaced the long-deadLIB field.  Please send feedback, positive and negative, on thesechanges to procps-bugs@redhat.comThe libproc soname has changed to 2.0.7 because of a structurechange required to add SMP support.Two programs inspired by Solaris's /usr/proc/bin collection havebeen added: pgrep and pkill.  By default, for FSSTND/FHS/LSB compliance,these are installed in /usr/bin; if you want, you can change PROCDIRin Makefile to move them.  You can also make a symlink from/usr/proc/bin to /usr/bin if you like.The Makefiles have been sanitized a bit more; they are now less messythan they were.  There is less duplication between the Makefiles now.The man pages that use tables have been fixed to work work brokenversions of man.The old wmconfig file (specific to Red Hat) has been replaced with adesktop file (common across GNOME and KDE).sysctl returns an error code in a condition in which it didn't before,and handles EOF correctly.top now only loads System.map when it is actually going to make useof it.vmstat has its buffer size increased and handles page size dynamically.w has its year display fixed to show the year 2000 as 00 instead of 0,and to try harder to find a process to display.watch has a fix for ncurses in recent versions of glibc, and expandstabs so that they display correctly.libproc tries to get the default page size from the system headerfiles, but still has a fallback.  It also has been extended to allowapplications to handle their own error reporting in some importantcases.  The pwcache has been expanded in size to correctly handleuser names longer than 8 characters.  It has been expanded toprovide the lproc field that shows up as top's LC field.  A segfaultwhen /proc is not mounted was fixed.  Missing files will causeapplications to exit with an error code instead of good exit code.A warning when libproc cannot calculate the HZ value (probably dueto a kernel bug) has been supressed by default because it brokepeople's scripts unnecessarily.  A 64-bit memory size readingbug was fixed (/proc/meminfo was read incorrectly).A couple of error messages in ps had newlines added to them.  psonly opens System.map when it is going to make use of it.  Thefull-page error message has been replaced with a shorter usagemessage; the full-page command summary is available with --help,and the usage message tells about --help; the full-page summaryis now no longer an error message and so it is sent to stdoutinsteada of stderr.  Processes with run times longer than a daynow have their runtime displayed correctly.  ruser output was fixed.An attempt was made to support one more piece of BSD syntax in thecommand line arguments, where pids can follow options with nointervening space.  The ps man page was made a bit moreinternally consistent and typos fixed.  Fixed a segfault when thePS_FORMAT environment variable was set wrong.NEWS for version 2.0.6 of procpsSupport for large-memory systems has been added.LIBVERSION has been incremented because of an incompatible changein the libproc interface, necessitated by the large-memory support.A little more error checking in device idle time calculations.The signames.h file is now properly built.Fixed an almost-impossible file descriptor leak in libproc thatoccasionally showed up in long-running top sessions.The fix for top no longer depending on NR_TASKS in 2.0.5 wasbroken; top would die with more than 204 tasks.  This has beenfixed.NEWS for version 2.0.5 of procpsprocps can build against the 2.3.18 kernel source; top no longerdepends on NR_TASKS.skill/snice no longer complain on Linux/SPARCsysctl no longer segfaults with -A; has a few parsing fixesNEWS for version 2.0.4 of procpssysctl can save/restore settings using /etc/sysctl.conf filetop has -p option and N and A commands.vmstat doesn't mind interrupt counter overflow on long-running machinesps can now sort by PCPU.NEWS for version 2.0.3 of procpsTime calculations fixed (or at least improved...) for SMP machines.In particular, hertz is calculated correctly.ps doesn't mind terminal resizing happening while it runs.sysctl is a nifty new program!  Try it!  Carefully!  :-)w PCPU and WHAT output fixed.top batch mode now works without a tty (for instance, via rsh).new version of watch has a few new features like --differences.sessreg removed; it belongs where it has been for a long time, in X.NEWS for version 2.0.2 of procpsRemoved xproc entirely; the only thing left there was XConsole, whichwas equivalent to xconsole -file /proc/kmsg.  Added an XConsole shellscript which doesexec xconsole -file /proc/kmsg "$@"so that folks who depend on XConsole won't be left behind.  This alsofixes the bug that XConsole effectively removed limitations on whichusers were allowed to read /proc/kmsg without root having much choicein the matter other than to remove XConsole...Removed unused psupdate code (still available as part of procps-1.2.xfor anyone who wants to play with it).Removed sessreg, as it is included in XFree86 and there is no reasonfor the duplication.Fixed version number generation so that it happens in one place.  I'mtired of releasing versions that misreport their version number...NEWS for version 2.0.1 of procpsReverted my changes that had broken Albert's Unix98 compliance.Major bugs fixed: o  ps now returns failure for "ps <non-existant-pid>" o  ps h has reverted to old linux behaviour except in BSD personality;    --headers and --no-headers long options have been added o  watch buffer overrun fixed (no, not a security hole).top has -b and -n options added.NEWS for version 2.0 of procpsThanks to Albert Cahalan for his rewrite of ps, and for makingthe time for new development of ps that I just didn't have.  Hisresearch into how ps worked on lots of different UNIX systemsreally made this version much more usable for a lot of people.Read ALL of Albert's comments regarding his 1.9.0 release.  Ifyou do not, you may be surprised when scripts fail.  I've triedto prepare people for the worst of this by giving out the much-detested  warning: `-' deprecated; use `ps aux', not `ps -aux'message for roughly a year and a half.NEWS for version 1.9.0 of procpsThe ps command now supports simultaneous BSD and Unix98 syntax.There have been many other changes in ps. (complete rewrite)Red Hat users should check /etc/sysconfig/network-scripts/ifdown-pppfor the bogus command "ps aul" and change it to "ps axl".Scripts that make assumptions about character position are andwere broken because fields may overflow. Scripts should parse bywhitespace and use -o to get the best results. Command names forswapped out processes are now shown in square brackets instead ofparentheses, as required by the Unix98 standard. This problem canbe avoided entirely by using a SysV format without -f, using theBSD "c" option, or using the format specifier "comm" with -o.Some uses of ps in /etc/rc.d/init.d/functions should probablyeventually be changed to stuff somewhat like the following, whichwould eliminate the need for awk:PS_PERSONALITY=linux dead=`ps -p $pid -o pid=`PS_PERSONALITY=linux echo -n `ps -C $1 -o pid=`PS_PERSONALITY=linux pid=`ps -C $1 -o pid=`Obsolete files you may have: /etc/psdatabase, /etc/psdevtab,~/.psdevtab, /usr/man/man8/psupdate.8 and /usr/sbin/psupdate.NEWS for version 1.2.9 of procpspsupdate has been REMOVED from the default install.  You can put it backif you want to by removing two comment characters in the Makefile, butI'm not going to tell you which ones.  <RANT>If you can't figure it out,there's a good chance that it won't build on your machine and I don'twant the bug reports.  One of the main reasons I have removed it is thatit is not necessary on a properly-maintained system (that is, System.mapexists and is correct) and 4/5ths of the bug reports I have fielded inthe past are from users who are not able to maintain a working systemcomplaining that it doesn't work, despite the fact that the INSTALL fileexplains how to build it in different ways and how to disable it.</RANT>I will delete without response all email asking me how to build psupdate.ps now accepts and ignores the g option for those with fingers tied tothe g key from too much exposure to BSD.  :-)Should build properly on ultrasparc -- two people sent the patch andthe second time I didn't notice that the patch went in reverted.  SoI have now reverted the reverted patch to get the right behavior.More reliable command-line parsing in vmstat has been added.  If vmstatdidn't die for you before, you won't notice the difference...Fixed a bug where arbitrary users might have been able to corrupt thescreen of arbitrary other users running top by creating processes withweird arguments."ps ce" was missing a space character; fixed.NEWS for version 1.2.8 of procpsprocps.spec now uses buildroot, and can be built by non-root users.This means that the default install targets had to change in themakefiles so that the default install does not require root privsotherwise.  Also changed all "bin" ownership to "root" ownership,as kmem-ps has died out and folks won't be automatically doing"chmod u+s /bin/ps" and making their systems insecure thereby.XConsole no longer installed setuid root by default.  This is safer,if less convenient.  Change it if you want to use it as non-root.top had disgustingly buggy ^Z handling: you could only suspend once,and if you had suspended, you could no longer read WCHAN information.Both bugs are now fixed.xcpustate removed -- it was a very old, obsolete version.Get a new version from ftp://ftp.cs.toronto.edu/pub/jdd/xcpustateNow looks for kernel symbols in loadable modules.psupdate no longer included in RPM package; the theory is thatsystems maintained with RPM probably are reasonably recent andup-to-date and so psupdate is extraneous on those systems, onlyadding an unhelpful dependency on a particular version ofbinutils.top printed two spaces instead of just one between command-line arguments.NEWS for version 1.2.7 of procpsSecurity hole in XConsole fixed.Works better with very long uptimes.Fixed RPM spec file to have correct libproc soname.skill -i works.Knows about more major numbers for smart serial boards.Fixed some small problems in top.NEWS for version 1.2.6 of procpsSignal handling in top fixed in several ways.  Main effect: suspendingworks correctly with glibc now.Patch from Linus for change in some kernel structures to 64-bit.This means that libproc has changed soname, as the proc_t datastructure has changed incompatibly.File descriptor leaks in libproc were fixed.NEWS for version 1.2.5 of procpsPotential security hole fixed: if there was no /etc/psdevtab ona system, a user could put a link from /tmp/psdevtab to a fileowned by another user, and when that other user ran ps, thefile it pointed to would be killed.  This wouldn't work forroot because root would be able to create /etc/psdevtab first,so arbitrary system files would not be killable.  This was fixedby avoiding psdevtab files that are symlinks or have link countshigher than 1, and by not looking for /tmp/psdevtab anymore, asthe reason for it to exist is really obsolete.w -s output has been fixed.  Scripts that depend on w -s outputshould be examined.  The output was broken enough to warrant thischange; it was extremely buggy.NEWS for version 1.2.4 of procpsI_WANT_A_BROKEN_PS environment variable turns off usage warning."w <username>" sense corrected.argument order problem fixed.XConsole doesn't dump core on exit any more (only fclose if thefile is open...)NEWS for version 1.2.3 of procps

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -