sysctl way too slow
Atom Smasher
atom at smasher.org
Wed Jul 14 14:52:10 UTC 2010
On Wed, 14 Jul 2010, Dominic Fandrey wrote:
> It probably depends on your BIOS. This is the same call on my
> system:
> % time sysctl -n hw.acpi.battery.life hw.acpi.battery.time hw.acpi.battery.state
> 100
> -1
> 0
> sysctl -n hw.acpi.battery.life hw.acpi.battery.time hw.acpi.battery.state 0.00s user 0.01s system 96% cpu 0.013 total
>
> As you can see 33 times faster than on your system.
===================
next time i reboot this laptop, i'll stick an ubuntu CD in and see if it
takes as long to get the info. i guess if it does take as long, then we
can blame the hardware.
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"Since I entered politics, I have chiefly had men's views
confided to me privately. Some of the biggest men in the
United States, in the Field of commerce and manufacture,
are afraid of something. They know that there is a power
somewhere so organized, so subtle, so watchful, so
interlocked, so complete, so pervasive, that they better
not speak above their breath when they speak in
condemnation of it."
-- Woodrow Wilson, The New Freedom (1913)
More information about the freebsd-hackers
mailing list