libsysactivity is a free and open source, lightweight C library that retrieves statistics of the system`s activity in a portable and thread safe way.
libsysactivity offers an API for retrieving the activity of: hard disks, CPUs, memory, processes and network interfaces.
What`s New in This Release: [ read full changelog ]
· Added support for Debian GNU/kFreeBSD. It`s almost the same code as FreeBSD.
· Linux: Now the kernel version is obtained at startup and checked on each open_XXX
· *scanf and *printf are too slow. Manual parsing instead.
· Linux: Many small code optimizations.
· Linux: Avoid to seek() to a hard-coded position.
· strncpy is not safe enough so now using own strlcpy.
· Added stress tests so it`s easier to measure how fast is the code