Originally posted by: n0cmonkey
Originally posted by: ergeorge
It's FreeBSD, which has a /proc but no cpuinfo in there.
But yea, I found what I needed in dmesg. Thanks.
dmesg is pretty fugly to parse though
Uglier than adding to /proc kernel code?
?? Not sure what you mean by that ??
In any case, I'm thinking I need to drop this bit anyway. I have a distributed program where the slaves would report back the speed of the cpu they were running on so the master process could make an initial hack at load balancing. But it's getting used on to many different platforms (Linux, BSD, SGI, maybe Sun) and everybody does that bit differently, and it doesn't take into account system load anyway.
Besides, after the first cycle, it balances the load dynamically based on the actual runtimes on the previous cycle. When I had a small cluster of various speed machines it was nice for debugging (so you aren't waiting on the slow machines to get through a cycle). But now I have a real cluster that's largely homogeneous and much faster that I develop on

So it's not worth the trouble to maintain it.