battery monitor with KDE 64 bit
martinko
gamato at users.sf.net
Tue Apr 29 19:22:57 UTC 2008
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).
More information about the freebsd-mobile
mailing list