From: albert <> Date: Sun, 8 Dec 2002 00:14:02 +0000 (+0000) Subject: Inact_laundry X-Git-Tag: v3.3.0~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3ee8f32521434cab99f32fe81a889aec24d6e52;p=procps-ng Inact_laundry --- diff --git a/NEWS b/NEWS index 305582e8..0cc73473 100644 --- a/NEWS +++ b/NEWS @@ -1,22 +1,23 @@ -procps-3.1.1 --> procps-3. - -vmstat -s -vmstat -f -top handles old (and future) config files -w is way faster -top's B toggle -top's t fixed <--- minor bug -top several times faster -out-of-bounds RT as "RT" +procps-3.1.1 --> procps-3.1.2 + +better RPM generation general C99 clean-up -watch: don't drop empty lines <--- minor bug -watch: re-indented -ps: smaller (was it 1 kB or 2 kB ?) +some seLinux fixes ps: fewer globals ps: hardware-enforced buffer protection -some seLinux fixes <--- minor bug -top: old sort keys +ps: smaller (was it 1 kB or 2 kB ?) +top: B command added (for bold on/off) +top: handle old (and future) config files top: man page tweak +top: old sort keys #167249 +top: out-of-bounds RT as "RT" +top: several times faster +top: t command fixed +vmstat: -f +vmstat: -s +w: much faster +watch: don't drop empty lines #171005 +watch: re-indented procps-3.1.0 --> procps-3.1.1 diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 09d620ae..311a1dec 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -302,6 +302,7 @@ static int compare_mem_table_structs(const void *a, const void *b){ * Inact_dirty: 7772 kB new * Inact_clean: 2008 kB new * Inact_target: 0 kB new + * Inact_laundry: 0 kB new, and might be missing too * HighTotal: 0 kB * HighFree: 0 kB * LowTotal: 61768 kB @@ -334,6 +335,7 @@ unsigned kb_low_free; unsigned kb_low_total; /* 2.4.xx era */ unsigned kb_active; +unsigned kb_inact_laundry; unsigned kb_inact_dirty; unsigned kb_inact_clean; unsigned kb_inact_target; @@ -367,6 +369,7 @@ void meminfo(void){ {"HighTotal", &kb_high_total}, {"Inact_clean", &kb_inact_clean}, {"Inact_dirty", &kb_inact_dirty}, + {"Inact_laundry",&kb_inact_laundry}, {"Inact_target", &kb_inact_target}, {"Inactive", &kb_inactive}, {"LowFree", &kb_low_free}, @@ -415,7 +418,7 @@ nextline: kb_low_free = kb_main_free; } if(kb_inactive==~0U){ - kb_inactive = kb_inact_dirty + kb_inact_clean; + kb_inactive = kb_inact_dirty + kb_inact_clean + kb_inact_laundry; } kb_swap_used = kb_swap_total - kb_swap_free; kb_main_used = kb_main_total - kb_main_free; diff --git a/proc/sysinfo.h b/proc/sysinfo.h index 57d12409..7c81954b 100644 --- a/proc/sysinfo.h +++ b/proc/sysinfo.h @@ -30,6 +30,7 @@ extern unsigned kb_low_free; extern unsigned kb_low_total; /* 2.4.xx era */ extern unsigned kb_active; +extern unsigned kb_inact_laundry; // grrr... extern unsigned kb_inact_dirty; extern unsigned kb_inact_clean; extern unsigned kb_inact_target;