From owner-freebsd-questions@FreeBSD.ORG Thu Aug 11 20:19:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B65D16A41F for ; Thu, 11 Aug 2005 20:19:12 +0000 (GMT) (envelope-from ds@hacked.com.br) Received: from web04.poli.usp.br (web04.poli.usp.br [143.107.106.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C99E43D46 for ; Thu, 11 Aug 2005 20:19:08 +0000 (GMT) (envelope-from ds@hacked.com.br) Received: from [172.20.0.3] ([201.26.38.145]) by web04.poli.usp.br over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Thu, 11 Aug 2005 17:18:48 -0300 Message-ID: <42FBB2A9.1010006@hacked.com.br> Date: Thu, 11 Aug 2005 17:18:49 -0300 From: Vinicius Pavanelli Vianna User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Aug 2005 20:18:49.0493 (UTC) FILETIME=[E26A1450:01C59EB1] Subject: Process debugging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 20:19:12 -0000 Hi folks :) I have studying the accounting system on FreeBSD but have one question, is there a way to do active accounting on a process basis? like collecting live information about threads, memory, cpu usage, syscalls and other stuff to something like a rrd database so i can check what happened when a process crashed or when the load came high on the systems? I had a crash other day on mysql and don't know what happened since it stopped to respond, i know this is much like some bug on mysql, but collecting this information i can know what happened, since this is a production server, i think it's not possible to simple start debugging it, and mysql didn't crashed or dumped core :/ Any information would be welcome, don't know if i could express what i need very well Thanks in advance,