From owner-freebsd-questions@FreeBSD.ORG Thu Jul 17 13:11:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4963F1065673 for ; Thu, 17 Jul 2008 13:11:13 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 24E3D8FC1C for ; Thu, 17 Jul 2008 13:11:12 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so7312846rvf.43 for ; Thu, 17 Jul 2008 06:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=7krI33FD0BQik7qdjDLt9/FbOuZN/cONcVtf5h5wESQ=; b=PoIv3//Xp581xuwGUq3tzSHbNhpPL3QFrTXQo0roLsrKL4rkQn0elylPthxDNVhCA4 g1pcYtDRNpqVp9XYJ+SIwhayX12Xxlq7aPaj0uqsCIIlKDkLJOrhbtRPCB9OOTSWt3X5 hNkEl30R6f3hfLm0Zk11VNvO8HPcIwgMTYNuo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=qDgGG2EcBEsco7Wj8vpLEiTXcNBoMItk4Dsj9tF7R2M5Hcu2lI3b1dl+rO9IHm7iiR 4ZOJyAA2z1faEt/T3hUXjp9IYczP5qJnrXJ/ZaSv0zrSvgfXLcUZ1Lt1nYJ4ArvhOvDI 3Pu8ASP9DfV9gWIfWp1FLpTOHdcKSHZj5Nzl8= Received: by 10.141.89.13 with SMTP id r13mr1161468rvl.177.1216300272664; Thu, 17 Jul 2008 06:11:12 -0700 (PDT) Received: by 10.141.19.8 with HTTP; Thu, 17 Jul 2008 06:11:12 -0700 (PDT) Message-ID: <226ae0c60807170611yd4daeb1k61604271a04a207b@mail.gmail.com> Date: Thu, 17 Jul 2008 09:11:12 -0400 From: "David Robillard" To: "Wojciech Puchar" , "Eitan Shefi" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions Subject: Re: Problem in checking machine architecture. 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, 17 Jul 2008 13:11:13 -0000 > the output is: "amd64" > > When I run: "sysctl -a | less" > and search for: "CPU" > I see that: > "hw.model: Intel(R) Xeon(R) CPU 5140 @ 2.33GHz > ... > hw.machine_arch: amd64" I know it's slightly off topic, but when comes the time to verify hardware details, then you might want to take a look at dmidecode(8). It's available in the FreeBSD ports as sysutils/dmidecode or from it's website at http://www.nongnu.org/dmidecode/ This tool enables you to retrieve things like bios-vendor, bios-version, bios-release-date, system-manufacturer, system-product-name, system-version, system-serial-number, system-uuid, baseboard-manufacturer, baseboard-product-name, baseboard-version, baseboard-serial-number, baseboard-asset-tag, chassis-manufacturer, chassis-type, chassis-version, chassis-serial-number, chassis-asset-tag, processor-family, processor-manufacturer, processor-version, processor-frequency, etc. It's also available for other UNIX flavors too, so it's nice when you have a heterogeneous environment where sysctl and uname don't have the exact same flags. I've tried it successfully on various versions of FreeBSD, RedHat Enterprise Linux & Ubuntu Linux. HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 If you receive something that says "Send this to everyone you know", then please pretend you don't know me.