callout on property change
Joe Shaw
joe at ximian.com
Tue Apr 20 10:48:12 PDT 2004
On Tue, 2004-04-20 at 13:35 -0400, Robert Love wrote:
> > It does limit us in some ways about what hal should do, but I think
> > that's a good thing. For instance, it would easy to add properties
> > net.tx and net.rx for the traffic on the interface, but maybe this
> > should be outside the scope of hal.
>
> Heh, funny example - I thought the same thing to myself, "well, I guess
> we can never do statistics such as network card tx/rx". I concluded the
> same, that maybe such stats are overkill. Keeping the HAL database
> relatively stable, in the sense that a somewhat idle system does not
> involve a lot of property changes, seems right.
I totally agree. The overhead in generating dbus messages or forking
off callouts for tx/rx would just be too insane. But I think it does
make sense for a statistics app or a blinkenlites app to use HAL to get
basic info about the device and watch for this stuff itself.
Joe
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list