Re: ARMS WAVING!!! Proposal to fix /proc dainbrammage.

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Tue, 27 Oct 1998 20:10:42 -0500


In message <Pine.LNX.3.96.981027164659.483I-100000@red.prv>, "Mike A.
Harris" w
rites:
+-----
| Is all the info in /proc truly available with syscalls?
| Seriously, I'm asking out of pure curiousity as I'm not an expert
| in this area whatsoever. I'd like to get at the information in
| /proc/cpuinfo, and some other files in /proc, but if there is a
| direct way that doesn't use /proc, I'd sure like to know what it
| is and how to do it. Granted of course that I haven't bothered
+--->8

The old-fashioned way: arm yourself with the kernel symbol table and grovel
around in /dev/kmem. May you have joy of it. IMHO, /proc is light-years
ahead of that crap.

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/