From owner-freebsd-questions@FreeBSD.ORG Thu Jun 21 14:39:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4DF416A41F for ; Thu, 21 Jun 2007 14:39:34 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from galaxy.systems.pipex.net (galaxy.systems.pipex.net [62.241.162.31]) by mx1.freebsd.org (Postfix) with ESMTP id 9D6C313C457 for ; Thu, 21 Jun 2007 14:39:34 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [192.168.23.2] (62-31-10-181.cable.ubr05.edin.blueyonder.co.uk [62.31.10.181]) by galaxy.systems.pipex.net (Postfix) with ESMTP id E6501E00060C; Thu, 21 Jun 2007 15:39:32 +0100 (BST) Message-ID: <467A8DA3.70500@dial.pipex.com> Date: Thu, 21 Jun 2007 15:39:31 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: Laszlo Nagy References: <467A8915.1010506@shopzeus.com> In-Reply-To: <467A8915.1010506@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Hardware monitor needed 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, 21 Jun 2007 14:39:34 -0000 Laszlo Nagy wrote: > > Hi, > > My FreeBSD 6.2 server restarts suddenly once or twice a day. I believe > it is because the processor is overheated, but I'm not sure. Is there > a way to check this from software? I would like to install a hardware > monitor program that can log out processor temperature in every > minute. The mainboard is ASUS P5LD2, if that matters. Is there a > software out there that can do this for me? Check out healthd or mbmon. One or other has worked OK for me on other Asus boards, and both are in ports (sysutils/ I think). If you have ACPI and your board supports thermal zones, then you can check those. sysctl -a | egrep 'acpi.*therm' or sysctl -a | egrep 'acpi.*tz' one or other should be a good enough incantation. None of my ASUS mobos do have thermal zones so I can't be sure -- it's much more commonly supported in laptops. Or just sysctl -a | egrep acpi and eyeball for anything that looks like temp information. Also beware of constant monitoring. Every now and again (once a day on average), I find mbmon sits chewing CPU and pushing the temperature up itself. So I run in with (ulimit -t 1; /usr/local/bin/mbmon -p winbond -c 1) which means that the parent shell kills it if it uses more than 1 second of CPU, which is far more than it needs. --Alex PS Many disks which support SMART can display their apparent temp as one of the SMART parameters (see sysutils/smartmontools). Not 100% trustworthy, but better than nowt. I'd rather fry the processor than a disk :-)