version 1.102, 2020/01/06 20:05:10 |
version 1.103, 2020/06/25 20:38:41 |
|
|
*/ |
*/ |
if (skip + active_procs > system_info.p_active) |
if (skip + active_procs > system_info.p_active) |
skip = system_info.p_active - active_procs; |
skip = system_info.p_active - active_procs; |
for (i = skip; i > 0; i--) |
skip_processes(processes, skip); |
skip_next_process(processes); |
|
/* now show the top "n" processes. */ |
/* now show the top "n" processes. */ |
for (i = 0; i < active_procs; i++) { |
for (i = 0; i < active_procs; i++) { |
pid_t pid; |
pid_t pid; |