From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 31 19:41:42 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA39106566C for ; Sat, 31 Mar 2012 19:41:42 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id A0EB48FC12 for ; Sat, 31 Mar 2012 19:41:42 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q2VJfgod091045 for ; Sat, 31 Mar 2012 12:41:42 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4F775DF5.1020704@rawbw.com> Date: Sat, 31 Mar 2012 12:41:41 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120316 Thunderbird/10.0.3 MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Is there any modern alternative to pstack? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 19:41:42 -0000 I look at seemingly abandoned sysutils/pstack, last modified upstream 2002-11-27. It doesn't really work on 9.0 i386, prints some errors. It's functions, though, is quite desirable if one wants to understand why some multithreaded program hangs or is not responsive. Since there were no updates, I wonder, is this because there is some alternative in FreeBSD that I don't know about, or it is primarily due to the lack of interest/resources? I don't take gdb as alternative since it is not single line, and also it has some threading issues of its own. Yuri