From owner-freebsd-stable Wed Feb 10 02:18:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA07890 for freebsd-stable-outgoing; Wed, 10 Feb 1999 02:18:48 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA07884 for ; Wed, 10 Feb 1999 02:18:46 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id TAA02230; Wed, 10 Feb 1999 19:18:37 +0900 (JST) Message-ID: <36C15CCF.47081592@newsguy.com> Date: Wed, 10 Feb 1999 19:17:51 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: "Wayne M. Barnes" CC: stable mailing list at FreeBSD Subject: Re: passwd and send-pr References: <199902100013.SAA05787@barnes1.wustl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Wayne M. Barnes" wrote: > > Is there a command I can give to see what these programs are doing, > to see why they are hung up? Yes. Since I haven't done this in a long time now, though, I can only describe the process in very general terms. First, go to the appropriate /usr/src directories, and recompile the utilities in question with "-g". Install the new versions, run, and, when the program hands, start gdb and attach the desired process. You'll have to read on gdb documentation about attaching processes, but, then again, you'll have to read on gdb documentation anyhow (or, if you are already familiar with gdb, you probably won't have trouble finding the part about attaching processes). BTW, do you use -O2 or above when making world? If so, you better just recompile it with -O first, since that may be the source of the trouble. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org Well, as a computer geek, I have to believe in the binary universe. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message