diff --git a/top/top.c b/top/top.c index 40391f68..b44aecfc 100644 --- a/top/top.c +++ b/top/top.c @@ -2457,7 +2457,11 @@ static void zap_fieldstab (void) { Cpu_pmax = 99.9; if (Rc.mode_irixps && Cpu_cnt > 1 && !Thread_mode) { Cpu_pmax = 100.0 * Cpu_cnt; - if (Cpu_cnt > 10) { + if (Cpu_cnt > 1000) { + if (Cpu_pmax > 9999999.0) Cpu_pmax = 9999999.0; + } else if (Cpu_cnt > 100) { + if (Cpu_cnt > 999999.0) Cpu_pmax = 999999.0; + } else if (Cpu_cnt > 10) { if (Cpu_pmax > 99999.0) Cpu_pmax = 99999.0; } else { if (Cpu_pmax > 999.9) Cpu_pmax = 999.9;