Inact_laundry

This commit is contained in:
albert 2002-12-08 00:14:02 +00:00
parent 967acac8b7
commit c3ee8f3252
3 changed files with 20 additions and 15 deletions

29
NEWS
View File

@ -1,22 +1,23 @@
procps-3.1.1 --> procps-3.
procps-3.1.1 --> procps-3.1.2
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"
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

View File

@ -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;

View File

@ -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;