sysctl way too slow

Hans Petter Selasky hselasky at c2i.net
Wed Jul 14 12:04:28 UTC 2010


On Wednesday 14 July 2010 13:49:07 Atom Smasher wrote:
> http://smasher.org/tmp/zsh-bsd-sysctl-slow.png
> 
> is there a way to get this information that doesn't take so long?
> 
> the same info is available on linux via /sys and /proc and on comparable
> hardware, i can get the info about 100x faster.
> 
> thanks...

Maybe you are using the sysctls wrong. Did you read man 3 sysctl?

--HPS


More information about the freebsd-hackers mailing list