Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!decuac!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: Want ps with symbolic wait channel info Message-ID: <41@umcp-cs.UUCP> Date: Fri, 7-Jun-85 22:44:26 EDT Article-I.D.: umcp-cs.41 Posted: Fri Jun 7 22:44:26 1985 Date-Received: Tue, 11-Jun-85 02:39:31 EDT References: <237@kovacs.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 8 Actually, BRL's csleep (commented sleep) makes this ridiculously easy: just print p->p_slmsg if (p->p_wchan && p->p_slmsg). It isn't the same as what you'd get if you scanned the /vmunix symbol table ala adb, but it works pretty well. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland