Date: Tue, 29 Apr 2008 21:22:45 +0200 From: martinko <gamato@users.sf.net> To: freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit Message-ID: <48177585.3040103@users.sf.net> In-Reply-To: <Pine.BSF.3.96.1080423132803.21952B-100000@gaia.nimnet.asn.au> References: <480E41FB.2080503@users.sf.net> <Pine.BSF.3.96.1080423132803.21952B-100000@gaia.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Ian Smith wrote: > On Tue, 22 Apr 2008, mato wrote: > > Ian Smith wrote: > > > FWIW, I've also long used sysutils/ascpu as a 60sec visual load monitor, > > > matching asapm's 'look', res. size and low cpu usage. At ~7days uptime: > > > > > > 3680 smithi 8 0 2344K 448K nanslp 44:06 0.00% 0.00% asapm > > > 3681 smithi 8 0 2564K 448K nanslp 41:53 0.00% 0.00% ascpu > > > 3514 root 96 0 1280K 264K select 36:32 0.00% 0.00% moused > > > > > > > > > > There's something wrong with asapm or with my system -- I configured > > asapm for 5 seconds updating (as opposed to default 1s) and after 3 > > hours of uptime it already consumed 30 CPU-seconds. (!) > > Yeah Martin, that seems a lot; mine's using ~6 seconds per day. Perhaps > to do with running on amd64 rather than i386, though I've no idea why, > unless it's much busier with ACPI than with APM. > > Might be worth trying with the explicit -acpi switch, in case it tries > using the apm-over-acpi calls on your system? Pure speculation .. > > Are you running any commands on any conditions from the resource file? > I don't use ~/.asapmrc at all, just run 'asapm -lower forestgreen'. > Funny.. when I run it with -acpi I get the following: $ asapm -withdrawn -u 5 -acpi asapm: Neither ACPI nor APM are available! and it quits. When run w/o -acpi it works OK. Hm.. M. PS: I do use ~/.asapmrc but I don't think that is the culprit as asapm consumes CPU even when there are no actions triggered (always running on AC power).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48177585.3040103>