procps/procps-ng-3.3.10-slab.patch

116 lines
4.3 KiB
Diff
Raw Permalink Normal View History

Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
---
free.1 | 6 ++++++
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
free.c | 7 ++++++-
proc/sysinfo.c | 4 ++++
vmstat.c | 6 +++++-
4 files changed, 21 insertions(+), 2 deletions(-)
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
--- free.1
+++ free.1 2019-12-11 06:20:16.659772479 +0000
Accepting request 418010 from Base:System - Avoid fillup and insserv on modern systems (bsc#992845) - Use test suite but avoid the w command due dummy utmp * This requires dejagnu for the runtest command * This requires screen to be able to provide a tty - Add patch procps-ng-3.3.12-strtod.patch to fix missed extern declaration of strtod_nol_or_err() - Update to procps-ng-3.3.12 * libprocps API 6:0:0 * build: formerly optional --enable-oomem unconditional * free: man document rewritten for shared Debian #755233 * free: interpret intervals in non-locale way Debian #692113 * kill: report error if cannot kill process Debian #733172 * library: refine calculation of 'cached' memory * library: find tty quicker Debian #770215 * library: eliminate threads display inconsistencies Redhat #1284091 * pidof: check cmd if space found in argv0 * pmap: fixed detail parsing on long mapping lines * pmap: fix occasional incorrect memory usage values Redhat #1262864 * ps: sort by cgroup Debian #692279 * ps: display control group name with -o cgname * ps: fallback to attr/current for context Debian #786956 * ps: enabled broken 'thcount' option Redhat #1174313 * tests: conditionally add prctl Debian #816237 * top: displays the 3 new linux-4.5 RES memory fields * top: man page memory fields corrected + new narrative * top: added display of CGNAME (control group name) * top: is now more responsive to cpus brought online * top: namespace cols use suppressible zero OBS-URL: https://build.opensuse.org/request/show/418010 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=99
2016-08-18 09:15:06 +02:00
@@ -100,6 +100,12 @@ Switch to the wide mode. The wide mode p
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
than 80 characters. In this mode \fBbuffers\fR and \fBcache\fR
are reported in two separate columns.
.TP
+\fB\-C\fR, \fB\-\-full\-cache\fR
+Add to the plain \fBCached\fR in-memory cache for files also more cache lines as
Accepting request 418010 from Base:System - Avoid fillup and insserv on modern systems (bsc#992845) - Use test suite but avoid the w command due dummy utmp * This requires dejagnu for the runtest command * This requires screen to be able to provide a tty - Add patch procps-ng-3.3.12-strtod.patch to fix missed extern declaration of strtod_nol_or_err() - Update to procps-ng-3.3.12 * libprocps API 6:0:0 * build: formerly optional --enable-oomem unconditional * free: man document rewritten for shared Debian #755233 * free: interpret intervals in non-locale way Debian #692113 * kill: report error if cannot kill process Debian #733172 * library: refine calculation of 'cached' memory * library: find tty quicker Debian #770215 * library: eliminate threads display inconsistencies Redhat #1284091 * pidof: check cmd if space found in argv0 * pmap: fixed detail parsing on long mapping lines * pmap: fix occasional incorrect memory usage values Redhat #1262864 * ps: sort by cgroup Debian #692279 * ps: display control group name with -o cgname * ps: fallback to attr/current for context Debian #786956 * ps: enabled broken 'thcount' option Redhat #1174313 * tests: conditionally add prctl Debian #816237 * top: displays the 3 new linux-4.5 RES memory fields * top: man page memory fields corrected + new narrative * top: added display of CGNAME (control group name) * top: is now more responsive to cpus brought online * top: namespace cols use suppressible zero OBS-URL: https://build.opensuse.org/request/show/418010 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=99
2016-08-18 09:15:06 +02:00
+the \fBNFS_Unstable\fR pages sent to the server, but not yet committed to stable storage
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
+and the \fBSwapCached\fR memory that once was swapped out but is swapped back.
+Can be also enabled by the environment variable \fBPS_FULL_CACHE\fR.
+.TP
\fB\-c\fR, \fB\-\-count\fR \fIcount\fR
Display the result
.I count
--- free.c
+++ free.c 2019-12-11 06:20:16.659772479 +0000
@@ -90,6 +90,7 @@ static void __attribute__ ((__noreturn__
fputs(_(" -t, --total show total for RAM + swap\n"), out);
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
fputs(_(" -s N, --seconds N repeat printing every N seconds\n"), out);
fputs(_(" -c N, --count N repeat printing N times, then exit\n"), out);
+ fputs(_(" -C, --full-cache add further cache lines to main cache\n"), out);
fputs(_(" -w, --wide wide output\n"), out);
fputs(USAGE_SEPARATOR, out);
fputs(_(" --help display this help and exit\n"), out);
@@ -231,6 +232,7 @@ int main(int argc, char **argv)
{ "total", no_argument, NULL, 't' },
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
{ "seconds", required_argument, NULL, 's' },
{ "count", required_argument, NULL, 'c' },
+ { "full-cache",required_argument, NULL, HELP_OPTION },
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
{ "wide", no_argument, NULL, 'w' },
{ "help", no_argument, NULL, HELP_OPTION },
{ "version", no_argument, NULL, 'V' },
@@ -250,7 +252,7 @@ int main(int argc, char **argv)
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
textdomain(PACKAGE);
atexit(close_stdout);
- while ((c = getopt_long(argc, argv, "bkmghltc:ws:V", longopts, NULL)) != -1)
+ while ((c = getopt_long(argc, argv, "bkmghltCc:ws:V", longopts, NULL)) != -1)
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
switch (c) {
case 'b':
check_unit_set(&unit_set);
@@ -333,6 +335,9 @@ int main(int argc, char **argv)
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
case 'w':
flags |= FREE_WIDE;
break;
+ case 'C':
+ setenv("PS_FULL_CACHE", "yes", 1);
+ break;
case HELP_OPTION:
usage(stdout);
case 'V':
--- proc/sysinfo.c
+++ proc/sysinfo.c 2019-12-11 06:20:16.659772479 +0000
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
@@ -3,6 +3,7 @@
* Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com
* Copyright 1998-2003 Albert Cahalan
* June 2003, Fabian Frederick, disk and slab info
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
+ * Copyright (c) 2008 Bart Van Assche.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -700,6 +701,7 @@ void meminfo(void){
int linux_version_code = procps_linux_version();
mem_table_struct findme = { namebuf, NULL};
mem_table_struct *found;
+ const char *ev;
char *head;
char *tail;
static const mem_table_struct mem_table[] = {
@@ -779,6 +781,8 @@ nextline:
kb_inactive = kb_inact_dirty + kb_inact_clean + kb_inact_laundry;
}
kb_main_cached = kb_page_cache + kb_slab_reclaimable;
+ if ((ev=getenv("PS_FULL_CACHE")))
+ kb_main_cached += kb_swap_cached + kb_nfs_unstable;
kb_swap_used = kb_swap_total - kb_swap_free;
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
/* if kb_main_available is greater than kb_main_total or our calculation of
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
--- vmstat.c
+++ vmstat.c 2019-12-11 06:22:44.716984764 +0000
@@ -103,6 +103,7 @@ static void __attribute__ ((__noreturn__
fputs(_(" -p, --partition <dev> partition specific statistics\n"), out);
fputs(_(" -S, --unit <char> define display unit\n"), out);
fputs(_(" -w, --wide wide output\n"), out);
+ fputs(_(" -C, --full-cache add further cache lines to main cache\n"), out);
fputs(_(" -t, --timestamp show timestamp\n"), out);
fputs(USAGE_SEPARATOR, out);
fputs(USAGE_HELP, out);
@@ -899,7 +900,7 @@ int main(int argc, char *argv[])
atexit(close_stdout);
Accepting request 283978 from Base:System - Update tp procps-ng-3.3.10 * sysctl --system loads default config file - Debian #732920 * ps doesn't exit on SIGCONT * top better accommodates discontinuous NUMA nodes * ps cmdline trailing spaces suppressed under zsh, redhat #1057600 * kill restores the '-HUP -1' functionality * vmstat -d / -p segfault eliminated when /sys is not mounted * pgrep properly shows full command line when -au are combined * vmstat supports timestamps with -t/--timestamp option * top is now immune to distortions when system time is reset * top standardized the <Esc> key support with prompted input * top missing summary area info added to man document, ubuntu #574624 * top properly responds to the current locale LC_NUMERIC setting * top provides alternate graph modes for cpu states and memory usage * top offers new startup defaults, plus ./configure --disable-modern-top * top exploits MemAvailable field and offers improved memory statistics * ps new --quick-pid option, a more efficient alternative to --pid option * usernames up to 32 characters now accommodated (up from 19), redhat #1112734 * free exploits MemAvailable field and offers improved memory statistics * free considers slabs in displayed totals, debian #565518, ubuntu #126329 * watch supports new ANSI styles and background colors - Remove the patches now upstream 0023-top-do-not-forget-the-fscanf-s-terminating-null-byte.patch 0024-sysctl-system-loads-default-config-file.patch 0025-Split-help-lines-to-help-translators.patch 0026-library-fixing-uninitialized-variable-pos-in-whattim.patch 0027-pgrep-Fixing-memory-leak-in-do_regcomp.patch 0028-sysctl-Fixing-memory-leaks-in-PreloadSystem.patch 0029-ps-ignore-SIGCONT.patch 0031-vmstat-wide-output-still-not-wide-enough.patch OBS-URL: https://build.opensuse.org/request/show/283978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=91
2015-02-06 10:44:35 +01:00
while ((c =
- getopt_long(argc, argv, "afmnsdDp:S:wthV", longopts,
+ getopt_long(argc, argv, "aCfmnsdDp:S:wthV", longopts,
NULL)) != -1)
switch (c) {
case 'V':
@@ -968,6 +969,9 @@ int main(int argc, char *argv[])
case 't':
t_option = 1;
break;
+ case 'C':
+ setenv("PS_FULL_CACHE", "yes", 1);
+ break;
default:
/* no other aguments defined yet. */
usage(stderr);