Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 6 Jul 2002 20:28:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 6 Jul 2002 20:28:17 -0400 Received: from saturn.cs.uml.edu ([129.63.8.2]:2568 "EHLO saturn.cs.uml.edu") by vger.kernel.org with ESMTP id ; Sat, 6 Jul 2002 20:28:17 -0400 From: "Albert D. Cahalan" Message-Id: <200207070030.g670UbT166497@saturn.cs.uml.edu> Subject: Re: [OT] /proc/cpuinfo output from some arch To: rmk@arm.linux.org.uk (Russell King) Date: Sat, 6 Jul 2002 20:30:37 -0400 (EDT) Cc: hpa@zytor.com (H. Peter Anvin), linux-kernel@vger.kernel.org In-Reply-To: <20020707002006.B5242@flint.arm.linux.org.uk> from "Russell King" at Jul 07, 2002 12:20:06 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 27 Russell King writes: > On Sat, Jul 06, 2002 at 03:16:07PM -0700, H. Peter Anvin wrote: >> /proc/cpuinfo was *definitely* meant to be parsed by programs. >> Unfortunately, lots of architectures seems to have completely missed >> that fact. > > Sigh, its a shame such things aren't documented somewhere in the > kernel tarball. Ah, but you're supposed to remember the history! The colons were added to make parsing easier. I think that was done after somebody added spaces on the left, and lots of app developers screamed that the format had become hopeless. Right now I'm looking to get the temperature, clock speed, and voltage. I get the first two on PowerPC hardware, but it's not obvious what mess an SMP system would spit out. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/