📄 changes
字号:
/proc/partitions and then /proc/stat. * statistics are now read by iostat and mpstat as unsigned long instead of int to avoid integer overflow. * iostat should now handle properly the case when the 'weighted number of milliseconds spent doing I/Os' (read in sysfs or /proc/{partitions,diskstats}) decreases with time. * iostat manual page updated. * Minor temporary file vulnerability fixed in isag command. * README, FAQ and CREDITS files updated. * Author's email changed.2004/02/02: Version 5.0.1 - Sebastien Godard <sebastien.godard@wanadoo.fr> * -L option added to sadc. Enable sadc to lock its output file to prevent multiple instances from writing to it at once. * sa1 and sysstat scripts updated to take advantage of -L option. * Handle the case where, under very special circumstances, STDOUT may become unavailable, and sar, iostat and mpstat are no longer able to display anything. * sadc as called in sysstat script also uses -F option to force the creation of daily data file. * sar, sadc and mpstat manual pages updated. * Code cleaned. * FAQ and CREDITS files updated.2003/11/09: Version 5.0.0 - Sebastien Godard <sebastien.godard@wanadoo.fr> * New fields added to mpstat: %irq (%time spent servicing interrupts) and %soft (%time spent servicing softirqs). * sar and iostat updated to take into account time spent servicing interrupts and softirqs when displaying percentage of time in system mode. * By default iostat now displays only statistics information for devices that are used by the system. You should now use the ALL keyword to tell iostat to display statistics for every device including those that have never been used. * The file version.h is now dynamically created. sysstat's version number is now only recorded in the Makefile. * sar manual page updated: beginning with kernels 2.4 and later, pgpgin and pgpgout statistics are in kilobytes and not in blocks (see linux-2.4/fs/proc/proc_misc.c and linux-2.6/mm/page_alloc.c). * iostat and mpstat manual pages updated. * Makefile updated: don't process NLS files if they are up-to-date. * sysstat's RPM spec file updated to enable clean, non-root builds. * NLS updated. * FAQ and CREDITS files updated.2003/09/28: Version 4.1.7 - Sebastien Godard <sebastien.godard@wanadoo.fr> WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2163] * /proc/diskstats is now the preferred source for iostat to get its statistics. If non-existent, iostat falls back on sysfs then on /proc/stat. * In addition to devices, partitions can also be entered on the command line for iostat providing that option -x is not used. * /dev prefix has been removed from device name displayed by iostat -x. * sar -d now looks for disks statistics in /proc/diskstats with post 2.5 kernels. * sar uses /proc/vmstat file with post 2.5 kernels to find paging and swapping statistics. * activepg, inadtypg, inaclnpg and inatarpg stats removed from sar -B report (they were not really useful). * sar -B now displays the number of page faults made by the system (pgfault/s and pgmajflt/s). * Stat on shared memory removed from sar -r and sar -R (this stat was no longer maintained by the kernel since 2.4 because of performance problems). * Cached swap statistic information added to sar -r. * sar -d now displays separate statistics for sectors that are read from or written to devices. * %file-sz (percentage of used file handles) is no longer displayed by sar -v, since the upper limit for the number of open files will self-scale with 2.6 kernels. * sar now looks more aggressively for network devices in /proc/net/dev. * Heading spaces in network interface names removed (sar -n). * Fixed a problem reading /proc/interrupts when there are a lot of CPUs (mpstat, sadc). * NR_IRQS value increased to 256, since IA64 supports 256 irqs per CPU. * Some stats counters are now read as unsigned long instead of unsigned int (pgpgin, pgpgout, pswpin, pswpout, irq_sum). * sar and iostat manual pages updated. * FAQ, README and CREDITS files updated. * NLS updated.2003/08/20: Version 4.1.6 - Sebastien Godard <sebastien.godard@wanadoo.fr> WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2162] * Machine uptime calculation is now optimized on SMP machines to minimize the consequences if an overflow condition happens. Especially useful when asking for stats since system boot. * -F option added to sadc. Useful to force the creation of the daily data file: an already existing file with a wrong format will be truncated by sadc if this option is used. * sa1 script now calls sadc with -F option. * The processor number to which the process is attached was no longer displayed by sar -x. Make it appear again. * CPU usage for processes, as displayed by sar -x and sar -X, should now be correct on machines where HZ <> 100 (e.g. IA64 architecture). * iostat still assumed that jiffies were 100ths of a second in some places. Now use Linux HZ definition *everywhere*. * The average I/O requests queue length as displayed by iostat -x was wrongly calculated. This is now fixed. * Manual pages updated. * NLS updated. * Cosmetic changes in various parts of the code. * FAQ, README and CREDITS files updated.2003/07/21: Version 4.1.5 - Sebastien Godard <sebastien.godard@wanadoo.fr> WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x2161] * 'sar -x <pid>' and 'sar -X <pid>' work again. * sar had a longstanding bug that prevented option -P from working properly if the machine had more than 32 processors. This is now fixed. * Fixed a bug introduced in 4.1.2, which made some LINUX RESTART messages to not be displayed by sar. * sar now uses bitmap of char instead of int to avoid endianness problems. * sar can now handle a huge number of processors, serial lines and network interfaces. * FAQ updated.2003/07/01: Version 4.1.4 - Sebastien Godard <sebastien.godard@wanadoo.fr> WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x2160] * Fixed the way overflow conditions were handled by sar for interfaces counters. * On really big machines with 100 GB of memory or more, the values read by sadc in /proc/meminfo would get truncated and cause havoc in the calculations. This is now fixed. * iostat and sar can now read many more disk entries in /proc/stat if necessary. * Option "-x SUM" removed for sar. It was used to tell sar to display the total number of minor and major faults made by the system. Unfortunately, the calculation was tricky, and the results were uncertain... * NLS updated. Polish translation added. Also proper charset and encoding declarations added to fix msgfmt warnings and allow gettext to recode between various charsets (e.g. German translation will be shown properly both with LANG=de_DE.ISO-8859-1, and LANG=de_DE.UTF-8) * Code 'sanitization'. * Manual pages updated. * README and FAQ files updated.2003/05/08: Version 4.1.3 - Sebastien Godard <sebastien.godard@wanadoo.fr> * iostat should now be fully 2.5/2.6 kernel compliant. * Disks arrays in iostat are now dynamically sized. * iostat: sysfs is now used in preference to /proc/stat if available. * iostat will no longer look for statistics in /proc/partitions. sysfs filesystem must now be available for iostat to get its extended stats (post 2.5 kernels). * iostat: Devices for which statistics are requested can now be entered on the command line even if option -x is not used. * Usage messages updated. * Manual pages updated. * Code cleaned (dk_drive_sum removed in iostat, long lines folded, functions split in smaller parts, etc.) * NLS updated. Romanian translation added. * isag upgraded to version 1.22.2003/01/24: Version 4.1.2 - Sebastien Godard <sebastien.godard@wanadoo.fr> WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x215f] * sar -q now also displays load average for the past 15 minutes. * -P option added to sar. This option enables sar to display stats on a per processor basis. Options -U and '-I PROC' are deprecated. 'sar -U ALL' is replaced by 'sar -u -P ALL', and 'sar -I PROC' by 'sar -I SUM -P ALL'. * Fixed iowait value displayed by sar on SMP machines with pre 2.5 kernels. * When displaying CPU utilization on SMP machines, sar now recalculates the interval based on current CPU's tick count. * Always check that the number of CPUs has not increased when reading /proc/stat (sadc, mpstat). * sadc: Don't assume that the first line in /proc/net/sockstat concerns sockets. Check it! * Serial lines are ignored by sadc for every kind of kernels (UP, SMP...) if SMP_RACE is defined. SMP_RACE is no longer defined by default in RPM packages. * Code cleaned: Dead code removed in iostat.c, some lines longer than 80 chars folded, etc. * sar manual page updated. * FAQ updated. * NLS updated.2003/01/02: Version 4.1.1 - Sebastien Godard <sebastien.godard@wanadoo.fr> WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x215e] * sar -u/-U, iostat and mpstat can now display time spent in I/O wait mode (with 2.5 kernels and above). * Values like -1 and -2 are no longer aliases for keywords ALL and XALL (sar -U, sar -I, mpstat -P). * Buglet fixed in iostat.h. * LC_CTYPE needs to be set, or it will emit messages with ?????? only on some locales, especially ja_JP.eucJP * sar, mpstat and iostat manual pages updated. * NLS updated. * CREDITS file updated. * Typo removed in FAQ file.2002/11/13: Version 4.0.7 - Sebastien Godard <sebastien.godard@wanadoo.fr> * Make data for timestamp 00:00:00 appear in one of the daily data files when sar/sadc rotates its output file. * Take out check for non SMP configuration when asking for mpstat -P. * sargon script updated. * FAQ updated.2002/08/04: Version 4.0.6 - Sebastien Godard <sebastien.godard@wanadoo.fr> * mpstat now uses a bitmap of char instead of int to avoid endianness problems. As a consequence, mpstat should now work on PowerMac architectures. * CPU activity as displayed by mpstat -P for a given processor was in a wrong range on SMP machines (e.g. 0-50% for a dual processor box). * Missing bitmap initialization fixed in mpstat.c. * Configuration script updated. * FAQ updated.2002/05/12: Version 4.0.5 - Sebastien Godard <sebastien.godard@wanadoo.fr> * Average wait times and service times as displayed by iostat -x were wrong by a factor of 10. This is now fixed. * Linux RESTART messages must now be in the interval specified by -s/-e options to be displayed by sar. * Fixed a small bug that affected the timestamp for RESTART messages displayed by sar -h when option -t was used. * sar -H now displays its data in local time instead of UTC when option -t is used. * sargon shell script added. * Created a contrib directory, including sargon and isag commands. * NLS updated. * FAQ updated. * Makefile updated. * sar manual page updated.2002/04/07: Version 4.0.4 - Sebastien Godard <sebastien.godard@wanadoo.fr> * iostat is now able to display I/O activity in kB/s with 2.4.x kernels (option -k). * Fixed a typo in 'sar -W -h' output. * Try to handle the case when some parameters in /proc/net/dev may overflow ULONG_MAX. * 'sar -d' now displays sectors per second instead of blocks per second. * iostat and sar manual pages updated. * Added a FAQ. * NLS updated: Russian translation added.2002/01/27: Version 4.0.3 - Sebastien Godard <sebastien.godard@wanadoo.fr> * iostat now displays statistics in kB/s when option -x is used. * Configuration script updated. * sar and iostat manual pages updated. * umask also set in sa1 shell script. * Various sanity checks added. * Fixed potential segmentation faults that could happen with some locales. * KB (standing for kilobytes) replaced with kB in various places. * NLS updated: Italian translation added.2001/09/22: Version 4.0.2 - Sebastien Godard <sebastien.godard@wanadoo.fr> * CPU usage, as displayed by iostat, mpstat and sar, should now be OK on machines where HZ <> 100 (e.g. IA64 architecture). * MAX_PART constant set to 256 in iostat.h. * "-H" database friendly option added to sar. * Better disks and network interfaces management (both may be registered dynamically). * Made options "-s" and "-e" work when option "-h" is used. * isag upgraded to version 1.17. * isag installation is now optional and can be chosen at config stage. * Now try to install man pages in ${PREFIX}/share/man instead of ${PREFIX}/man. * sa2 shell script updated. * Configuration script updated. * sar manual page updated. * NLS updated: Norwegian translation added.2001/06/24: Version 4.0.1 - Sebastien Godard <sebastien.godard@wanadoo.fr> * Files created by sa2 shell script were world writable. This is now fixed. * sa2.sh shell script updated: only remove sa?? and sar?? files. * Don't use PAGE_SHIFT since it no longer necessarily exists in <asm/page.h>. Compute it using page size instead.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -