Smaller process listing.
[rsc] --rw-rw-r-- M 129339 glenda sys 6399 Dec 12 07:24 sys/lib/acid/kernel
/n/sourcesdump/2005/1212/plan9/sys/lib/acid/kernel:169,175 -
/n/sourcesdump/2005/1213/plan9/sys/lib/acid/kernel:169,175
complex Proc p;
local s, i;
- if p.state != 0 then { // 0 is Dead
+ if p.state != 0 && p.pid != 0 && p.text != 0 then { // 0 is Dead
s = p.psstate;
if s == 0 then {
s = "kproc";
|