Return to top.c CVS log | Up to [local] / src / usr.bin / top |
version 1.81, 2014/04/07 15:49:22 | version 1.82, 2014/09/17 01:56:54 | ||
---|---|---|---|
|
|
||
} | } | ||
} | } | ||
i = getncpu(); | |||
if (i == -1) | |||
err(1, NULL); | |||
if (i > 8) | |||
combine_cpus = 1; | |||
/* get count of top processes to display (if any) */ | /* get count of top processes to display (if any) */ | ||
if (optind < ac) { | if (optind < ac) { | ||
if ((topn = atoiwi(av[optind])) == Invalid) { | if ((topn = atoiwi(av[optind])) == Invalid) { |