Messages in this thread | | | Date | Tue, 30 Aug 2005 18:16:34 +0200 | From | Andrea Arcangeli <> | Subject | Re: KLive: Linux Kernel Live Usage Monitor |
| |
On Tue, Aug 30, 2005 at 05:33:38PM +0100, Alan Cox wrote: > Just follow the LSB specification and about the only thing thats totally > out of field is Slackware.
Fair enough, though one line like '(sleep 60; twistd ...) & in /etc/init.d/boot.local would have been a bit simpler for a quick and dirty autoinstall .sh script (that's the simplest way I install it in my system).
> Right thats my first reaction, 6Mbytes of unauditable weirdness versus a
;)
> tiny C program or a shell script using netcat. > > echo "Reporting boot: " > (echo "BOOT:"$(cat /etc/lum-serial)":"$(uname -a)"::") | nc -u -w 10 > testhost.example.com 7658
Client completely stateless couldn't get right suspend to disk as far as I can tell.
Tiny C program will be less tiny than the current tac file and the package would immediately become arch dependent. Plus if you want to run it as user nobody the twistd -u/g --pidfile --logfile and all the rest in twisted make life so much easier. On my systems I've other services running in background with twistd so perhaps I'm biased because I share almost all of it ;).
> For one distro perhaps. Using a proper init service script makes it work > for pretty much everyone.
I'm not very optimistic about the depdency chain to be distro indipendent, but I will look into that shortly and I guess here I'm running a bit offtopic.
Thanks! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |