Return to top.c CVS log | Up to [local] / src / usr.bin / top |
version 1.93, 2018/09/26 17:23:13 | version 1.94, 2018/10/05 18:56:57 | ||
---|---|---|---|
|
|
||
} | } | ||
} | } | ||
i = getncpuonline(); | i = getncpu(); | ||
if (i == -1) | if (i == -1) | ||
err(1, NULL); | err(1, NULL); | ||
|
|
||
ps.threads); | ps.threads); | ||
/* display the cpu state percentage breakdown */ | /* display the cpu state percentage breakdown */ | ||
i_cpustates(system_info.cpustates, system_info.cpuonline); | i_cpustates(system_info.cpustates); | ||
/* display memory stats */ | /* display memory stats */ | ||
i_memory(system_info.memory); | i_memory(system_info.memory); |