Re: PROPOSAL: /proc standards (was dot-proc interface [was: /proc

From: Erik Andersen (andersen@codepoet.org)
Date: Tue Nov 06 2001 - 17:52:33 EST


On Tue Nov 06, 2001 at 02:53:27PM -0800, Patrick Mochel wrote:
> How about
>
> $ cat /proc/cpus/0
>
> PROCESSOR=0
> VENDOR_ID=GenuineIntel
> CPU_FAMILY=6
> MODEL=6
> MODEL_NAME="Celeron (Mendocino)"
> .....
>
> $ for i in `ls /proc/cpus/` ; do
> cat $i
> done
> ...

much better.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
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/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:32 EST