top: respond to an additional library 'state' category

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2018-01-13 00:00:00 -06:00 committed by Craig Small
parent 7ede9ef79f
commit 6a5cd6d6fb

View File

@ -4946,7 +4946,8 @@ static void summary_show (void) {
if (isROOM(View_STATES, 2)) {
show_special(0, fmtmk(N_unq(STATE_line_1_fmt)
, Thread_mode ? N_txt(WORD_threads_txt) : N_txt(WORD_process_txt)
, PIDSmaxt, Pids_reap->counts->running, Pids_reap->counts->sleeping
, PIDSmaxt, Pids_reap->counts->running
, Pids_reap->counts->sleeping + Pids_reap->counts->other
, Pids_reap->counts->stopped, Pids_reap->counts->zombied));
Msg_row += 1;