PERFORCE change 156857 for review

Robert Watson rwatson at FreeBSD.org
Thu Jan 29 05:46:56 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=156857

Change 156857 by rwatson at rwatson_freebsd_capabilities on 2009/01/29 13:46:23

	Print [zombie] rather than [unknown] when ^T is pressed and a zombie
	process is the one we're giving information on.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/tty_info.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/kern/tty_info.c#3 (text+ko) ====

@@ -285,6 +285,8 @@
 		state = "suspended";
 	else if (TD_AWAITING_INTR(td))
 		state = "intrwait";
+	else if (pick->p_state == PRS_ZOMBIE)
+		state = "zombie";
 	else
 		state = "unknown";
 	pctcpu = (sched_pctcpu(td) * 10000 + FSCALE / 2) >> FSHIFT;


More information about the p4-projects mailing list