[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: any way to issue a statfs() in Lua ?
- From: Laurent Faillie <l_faillie@...>
- Date: Fri, 15 Mar 2013 23:17:34 +0100
Le 15/03/2013 16:19, Coda Highland a écrit :
> at that point
> your "as lightweight as possible" starts leaning toward "write it in
> pure C" in my opinion (not that either of these solutions are any
> heavier than using the standalone Lua interpreter, but if you're
> writing C code anyway, might as well go all the way).
In order to be "as light as possible", I would like to launch only 1
process to monitor everything (and probably keep it in memory as a
daemon) again to avoid zillions of processes fork as with nagios or
bigbrother probes.
But, in the other hand, I would like to keep the possibilities for user
to create their own checks easily, and I think it's easier to
dynamically add modules with interpreted languages vs compiled ones
("require" vs the need to build an load .so)
Among interpreted languages I know, Lua is clearly the more resource
conservative.
Bye
Laurent