C library to restrict resources access and to perform basic profiling on subprocesses.
License
perror/librlimit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
librlimit: A library to manage resource limitation and profiling ================================================================ librlimit is a library intended to put restrictions over resources (time, memory, system calls, ...) on a set of subprocesses and to provide basic profile information on their execution. Note that the library is NOT intended to perform full isolation, though it should be used to deal with (possibly) resource killing programs. The first intention behind this library was to have a full controllable environment (mostly for the timeout part) when running some black-box over testing students' programs on my computer. And, as you may know, students are remarkably resourceful little critters when it comes to make my computer crash. The need for profile information came afterward when trying to determine which program was the most efficient. User Build and Install ======================= The installation can easily be made by the well known: ./configure && make && su -c 'make install' In case of error, the './configure' script should provide some useful error messages that will help you to get through (read it and try to understand it before asking anything, please). Developer Build and Install ============================= To build the library go to source root and generate the ./configure script by executing: ./autogen.sh The configure options are the usual ones plus a few more that are listed below: --enable-werror compile with -Werror flag (default is no) --enable-debug compile with debug (default is no) --enable-optimize compile with optimization (default is yes) Developer Tips and Tricks =========================== Editing Changelog ----------------- * With Emacs: Use the built-in ChangeLog mode. Here are the main commands: + C-x 4 a : Add an entry to the current changelog (from the file you edited) + C-x 4 a : Add a new entry to the changelog (from the changelog itself)
About
C library to restrict resources access and to perform basic profiling on subprocesses.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published