From owner-freebsd-ports Fri Oct 13 02:53:58 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA24078 for ports-outgoing; Fri, 13 Oct 1995 02:53:58 -0700 Received: from ensta.ensta.fr (ensta.ensta.fr [147.250.1.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA24061 for ; Fri, 13 Oct 1995 02:53:34 -0700 Received: from itesec.hsc-sec.fr (itesec.hsc-sec.fr [192.70.106.33]) by ensta.ensta.fr (8.7.1/8.7) with ESMTP id KAA16685 for ; Fri, 13 Oct 1995 10:53:14 +0100 (MET) Received: from sidhe.hsc-sec.fr (roberto@sidhe.hsc-sec.fr [192.70.106.44]) by itesec.hsc-sec.fr (8.7.1/itesec-1.6) with ESMTP id KAA12284 for ; Fri, 13 Oct 1995 10:54:34 +0100 (MET) Received: (from roberto@localhost) by sidhe.hsc-sec.fr (8.7.1/sidhe-new-1.3) id KAA26956 for ports@freebsd.org; Fri, 13 Oct 1995 10:53:19 +0100 (MET) From: Ollivier Robert Message-Id: <199510130953.KAA26956@sidhe.hsc-sec.fr> Subject: top(1) patches to display sleep event To: ports@freebsd.org Date: Fri, 13 Oct 1995 10:53:18 +0100 (MET) Reply-To: Ollivier.Robert@hsc.fr.net (Ollivier Robert) X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-ports@freebsd.org Precedence: bulk FYI. ------- start of forwarded message ------- From: lyndon@orthanc.com (Lyndon Nerenberg) Newsgroups: comp.unix.bsd.freebsd.misc Subject: top(1) patches to display sleep event Date: 12 Oct 1995 15:07:47 -0700 Organization: Orthanc Systems I've modified top to display the event a process is sleeping on. I find this a bit more informative than the "sleep" message that top normally displays. The diffs are available from: ftp://ftp.orthanc.com/lyndon/ The patch should work with any 4.4BSD derived kernel (i.e. that has the p_wmesg field in the kernel proc struct). It's known to work with BSD/OS 2.0, although the line numbers in the diff will be wrong. Enjoy. --lyndon -- Orthanc Systems: Internet and UNIX consulting ___________________________________________________________ lyndon@orthanc.com || canada!lyndon || Fax: +1 604 561 2067 http://www.orthanc.com/ ------- end of forwarded message ------- -- Ollivier ROBERT aka le Calife de Sidhe