top: touch up that code for proc mounted as subset=pid
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
16145af663
commit
9b24a423b1
@ -5757,7 +5757,7 @@ static void summary_show (void) {
|
|||||||
, Pids_reap->counts->stopped, Pids_reap->counts->zombied));
|
, Pids_reap->counts->stopped, Pids_reap->counts->zombied));
|
||||||
Msg_row += 1;
|
Msg_row += 1;
|
||||||
}
|
}
|
||||||
goto restrict_end;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display Uptime and Loadavg
|
// Display Uptime and Loadavg
|
||||||
@ -5977,7 +5977,6 @@ numa_oops:
|
|||||||
#undef memPARM
|
#undef memPARM
|
||||||
} // end: View_MEMORY
|
} // end: View_MEMORY
|
||||||
|
|
||||||
restrict_end:
|
|
||||||
#undef isROOM
|
#undef isROOM
|
||||||
#undef anyFLG
|
#undef anyFLG
|
||||||
} // end: summary_show
|
} // end: summary_show
|
||||||
@ -6088,12 +6087,12 @@ static const char *task_show (const WIN_t *q, int idx) {
|
|||||||
break;
|
break;
|
||||||
/* s_int, scale_pcnt with special handling */
|
/* s_int, scale_pcnt with special handling */
|
||||||
case EU_CPU: // PIDS_TICS_ALL_DELTA
|
case EU_CPU: // PIDS_TICS_ALL_DELTA
|
||||||
|
{ float u = (float)rSv(EU_CPU, u_int);
|
||||||
|
int n = rSv(EU_THD, s_int);
|
||||||
if (Restrict_some) {
|
if (Restrict_some) {
|
||||||
cp = justify_pad("?", W, Jn);
|
cp = justify_pad("?", W, Jn);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
{ float u = (float)rSv(EU_CPU, u_int);
|
|
||||||
int n = rSv(EU_THD, s_int);
|
|
||||||
#ifndef TREE_VCPUOFF
|
#ifndef TREE_VCPUOFF
|
||||||
#ifndef TREE_VWINALL
|
#ifndef TREE_VWINALL
|
||||||
if (q == Curwin) // note: the following is NOT indented
|
if (q == Curwin) // note: the following is NOT indented
|
||||||
|
Loading…
Reference in New Issue
Block a user