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

Erik Andersen (andersen@codepoet.org)
Tue, 6 Nov 2001 15:52:33 -0700


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/