[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua to read Linux, Solaris, FreeBSD kernel statistics
- From: Stefan Parvu <sparvu@...>
- Date: Sat, 21 Feb 2015 18:37:26 +0200
Thanks for message.
> I've always just coded up a quick parse of Linux /proc/foo when necessary,
> which is typically very easy using Lua string pattern matching. If you want
> an API to return various utilization statistics that is platform-independent
> across Linux & BSD, I'm not aware of one but I think you could code it
> yourself very easily.
Yes, probable I need to think a bit further. Would make sense we could
have a module which can get stats from Linux, *BSD and Solaris or even
Windows with a consistent API.
Definitive something I need to think about it.
Cheers,
--
Stefan Parvu <sparvu@kronometrix.org>