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