Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 13:51:29 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Cc:        Atom Smasher <atom@smasher.org>
Subject:   Re: sysctl way too slow
Message-ID:  <201007141351.29694.hselasky@c2i.net>
In-Reply-To: <1007142345320.5546@smasher>
References:  <1007142345320.5546@smasher>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007141351.29694.hselasky>