lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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>