Menu

Tree [fe61e6] master /
 History

HTTPS access


File Date Author Commit
 cmake 2011-07-03 Carlos Olmedo Escobar Carlos Olmedo Escobar [5e5eb8] Small fix.
 doc 2011-04-16 Carlos Olmedo Escobar Carlos Olmedo Escobar [c6b32c] Added per-processor stats to FreeBSD
 src 2012-05-21 Carlos Olmedo Escobar Carlos Olmedo Escobar [fe61e6] Added windows swap code
 test 2012-05-21 Carlos Olmedo Escobar Carlos Olmedo Escobar [fb9ae1] Windows fixes
 CHANGELOG 2011-09-28 Carlos Olmedo Escobar Carlos Olmedo Escobar [5ad348] Minor fixes.
 CMakeLists.txt 2011-09-20 Carlos Olmedo Escobar Carlos Olmedo Escobar [5b4379] Added CPU code for Windows.
 COPYING 2011-02-20 Carlos Olmedo Escobar Carlos Olmedo Escobar [98bcbd] Migrating from CVS
 Doxyfile 2011-07-01 Carlos Olmedo Escobar Carlos Olmedo Escobar [41c0b5] Preparing 0.6.2 release.
 README 2011-09-20 Carlos Olmedo Escobar Carlos Olmedo Escobar [5b4379] Added CPU code for Windows.
 release.sh 2011-04-12 Carlos Olmedo Escobar Carlos Olmedo Escobar [00ed63] Added __restrict__ keyword. Remove SA_SPECIFIC_...

Read Me

Currently libsysactivity supports the following operating systems:
	* Linux >= 2.6
	* FreeBSD
	* NetBSD
	* OpenBSD
	* Solaris/OpenSolaris.

======= Compile =======

To build it use the following commands:

cd build
cmake .. # You can specify the following parameters:
         # -DCMAKE_BUILD_TYPE=release or -DCMAKE_BUILD_TYPE=debug
         # -DCMAKE_INSTALL_PREFIX=/some/absolute/path
make
make install # You will need root privileges for this step

======= Compile and execute unit tests =======

In order to build and execute the unit tests type the commands:

cd build
cmake ..    # You can specify the following parameters:
            # -DCMAKE_BUILD_TYPE=release or -DCMAKE_BUILD_TYPE=debug
            # -DCMAKE_INSTALL_PREFIX=/some/absolute/path
make
make -f test/Makefile all   # There ir no need to install the library in order to compile or execute the tests
make test   # This is the command that actually executes the tests

If you get any error please file a bug to https://sourceforge.net/tracker/?group_id=260799&atid=1137117 attaching the file build/Testing/Temporary/LastTest.log

======= Omitting tests =======

If you want one or more tests to be ignored just place a file called CTestCustom.cmake in the build/ directory with the following line (use as many lines as you need):

set(CTEST_CUSTOM_TESTS_IGNORE name_of_the_test_to_ignore)

where name_of_the_test_to_ignore is one of the following: cpu, disk, memory, network, process.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.