top: fix misapplied 'rh analysis #2: top' patch
This commit is contained in:
parent
3f7468082a
commit
82c0dfd877
@ -3386,8 +3386,10 @@ static void summary_show (void) {
|
|||||||
int shift = 0;
|
int shift = 0;
|
||||||
|
|
||||||
/*** hotplug_acclimated ***/
|
/*** hotplug_acclimated ***/
|
||||||
if (kb_main_total > 9999999) { which = N_txt(AMT_megabyte_txt); shift = 10; }
|
if (kb_main_total > 9999999)
|
||||||
if (kb_main_total > 9999999999) { which = N_txt(AMT_gigabyte_txt); shift = 20; }
|
{ which = N_txt(AMT_megabyte_txt); shift = 10; }
|
||||||
|
if (kb_main_total > 9999999999ull)
|
||||||
|
{ which = N_txt(AMT_gigabyte_txt); shift = 20; }
|
||||||
|
|
||||||
show_special(0, fmtmk(N_unq(MEMORY_lines_fmt)
|
show_special(0, fmtmk(N_unq(MEMORY_lines_fmt)
|
||||||
, which, mkM(total), mkM(used), mkM(free), mkM(buffers)
|
, which, mkM(total), mkM(used), mkM(free), mkM(buffers)
|
||||||
|
Loading…
Reference in New Issue
Block a user