Library used to query system info and statistics
Clone or download
agaida Provide minimum versions
Bump libsysstat version to 0.4.2
Latest commit ef0e4de Nov 24, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Fixes some lxde mentions Mar 27, 2018
cmake Handle CMake CMP0024 Dec 8, 2017
.gitattributes Don't export github templates Sep 24, 2017
AUTHORS Fixed year and https Mar 27, 2018
CHANGELOG Release 0.4.1: Update changelog May 21, 2018
CMakeLists.txt Provide minimum versions Nov 30, 2018
COPYING Fix license file Oct 30, 2015
README.md Fixes some lxde mentions Mar 27, 2018
basestat.cpp Fix rare file descriptor leak in readAllFile() Nov 5, 2015
basestat.h Make the lib buildable independently. Aug 7, 2013
basestat_p.h Style follows the Coding Standard Jan 19, 2013
cpustat.cpp Don't use automatic string conversions Jul 14, 2018
cpustat.h Make the lib buildable independently. Aug 7, 2013
cpustat_p.h Style follows the Coding Standard Jan 19, 2013
memstat.cpp Don't use automatic string conversions Jul 14, 2018
memstat.h Make the lib buildable independently. Aug 7, 2013
memstat_p.h Style follows the Coding Standard Jan 19, 2013
netstat.cpp Don't use automatic string conversions Jul 14, 2018
netstat.h Make the lib buildable independently. Aug 7, 2013
netstat_p.h Style follows the Coding Standard Jan 19, 2013
sysstat.pro Relicensing again Oct 27, 2012
sysstat_global.h Style follows the Coding Standard Jan 19, 2013
version.cpp Don't use automatic string conversions Jul 14, 2018
version.h Style follows the Coding Standard Jan 19, 2013
version_p.h Style follows the Coding Standard Jan 19, 2013

README.md

libsysstat

Overview

libsysstat is a library to query system information like CPU and memory usage or network traffic. Conceptually it's roughly similar to libstatgrab, a third-party library used by LXQt as well.

It is maintained by the LXQt project but can be used independently from this desktop environment, too. As for LXQt libsysstat is used by plugin-sysstat of lxqt-panel and hence an optional dependency of the latter.

Note replacing both libsysstat and libstatgrab in LXQt by KDE Frameworks components is being considered but a final decision hasn't been made yet, see https://github.com/lxqt/lxqt/issues/704.

Installation

Sources

The only runtime dependency is qtbase. To build CMake and lxqt-build-tools are needed in addition, as well as optionally Git to pull latest VCS checkouts.

Code configuration is handled by CMake. CMake variable CMAKE_INSTALL_PREFIX will normally have to be set to /usr, depending on the way library paths are dealt with on 64bit systems variables like CMAKE_INSTALL_LIBDIR may have to be set as well.

To build run make, to install make install which accepts variable DESTDIR as usual.

Binary packages

The library is provided by all major Linux distributions like Arch Linux, Debian, Fedora and openSUSE. Just use the distributions' package managers to search for string libsysstat.