5655N/A# 15706228 SUNBT7032615 top thinks that systems have 99 or fewer CPUs
5655N/A if (pp->px_state == SONPROC && cpucount > 1)
5655N/A /* large #s may overflow colums */
5655N/A- return snprintf(buf, sz, "cpu/%-2d", pp->px_onpro);
5655N/A+ return snprintf(buf, sz, "cpu/%-3d", pp->px_onpro);
5655N/A- return snprintf(buf, sz, "cpu/**");
5655N/A+ return snprintf(buf, sz, "cp/%-4d", pp->px_onpro);
5655N/A+ if (pp->px_onpro < 100000)
5655N/A+ return snprintf(buf, sz, "c/%-5d", pp->px_onpro);
5655N/A+ return snprintf(buf, sz, "cpu/***");
5655N/A- return snprintf(buf, sz, "%-6s", state_abbrev[(int)pp->px_state]);
5655N/A+ return snprintf(buf, sz, "%-7s", state_abbrev[(int)pp->px_state]);
5655N/A { "NICE", 4, 1, 0, fmt_nice },
5655N/A { "SIZE", 5, 1, 0, fmt_size },
5655N/A { "RES", 5, 1, 0, fmt_res },
5655N/A- { "STATE", 6, 0, 0, fmt_state },
5655N/A+ { "STATE", 7, 0, 0, fmt_state },
5655N/A { "TIME", 6, 1, 0, fmt_time },
5655N/A { "CPU", 6, 1, 0, fmt_cpu },
5655N/A { "COMMAND", 7, 0, 0, fmt_command },