crystal-community / crystal-libraries-needed

A list of libraries that are needed or wanted for the Crystal-Language
141 stars 4 forks source link

Statgrab - cross-platform access to statistics about the system #74

Open bew opened 7 years ago

bew commented 7 years ago

(Mentioned by rkeene on IRC)

From the main website:

libstatgrab is a library that provides cross platform access to statistics about the system on which it's run. It's written in C and presents a selection of useful interfaces which can be used to access key system statistics.

The current list of statistics includes:

The current list of supported and tested platforms includes FreeBSD, Linux, NetBSD, OpenBSD, Solaris, DragonFly BSD, HP-UX and AIX. We are always happy to accept patches to extend support to other operating systems.


Main website: https://www.i-scream.org/libstatgrab/

aablinov commented 6 years ago

Hi, I'm doing porting gopsutil library to a crystal https://github.com/kodnaplakal/psutil.cr it's very similar like libstatgrab. Already done this metrics for Linux:

HCLarsen commented 6 years ago

Either one of those would be great. Especially if it also works on MacOS.

aablinov commented 6 years ago

Yes, I am currently working on MacOS support

watzon commented 6 years ago

I'm working on a library right now for parsing the entirety of the /proc directory. It's functionality is limited so far, but I do plan on supporting everything in there. https://github.com/watzon/sysinfo.cr

bararchy commented 5 years ago

We have -> https://github.com/crystal-community/hardware is that enough?