Small process daemonization and monitorization tool.

Adrian Perez de Castro 09f20de15d dlog: Do not flush when writing to standard output 8 months ago
debian a1242a3894 Version 0.4.4 8 months ago
wheel @ 62a1f4590a e4cfec6e0d Update to changes in libwheel 2 years ago
.gitignore 95c9d3730c Add drlog in Git ignore rules 6 years ago
.gitmodules 2c2556dbbb Updated libwheel submodule 4 years ago
CHANGELOG.md a1242a3894 Version 0.4.4 8 months ago
COPYING 5fe3e2a1ae Added COPYING and (simple) README 6 years ago
Makefile 6b75f251bb Better handle silencing Makefile commands 2 years ago
README.md 74b6dd544a README: Add direct links to blog posts 1 year ago
dlog.8 3f447e19d0 Reading of log input from arbitrary file descriptors 5 years ago
dlog.c 09f20de15d dlog: Do not flush when writing to standard output 8 months ago
dlog.rst 3f447e19d0 Reading of log input from arbitrary file descriptors 5 years ago
dmon.8 0bd43ccda7 Implement flag to change the work directory 8 months ago
dmon.c af87987ced Correctly queue signal number forwarded to log process 8 months ago
dmon.rst 0bd43ccda7 Implement flag to change the work directory 8 months ago
drlog.8 3f447e19d0 Reading of log input from arbitrary file descriptors 5 years ago
drlog.c e4cfec6e0d Update to changes in libwheel 2 years ago
drlog.rst 3f447e19d0 Reading of log input from arbitrary file descriptors 5 years ago
dslog.8 3f447e19d0 Reading of log input from arbitrary file descriptors 5 years ago
dslog.c e4cfec6e0d Update to changes in libwheel 2 years ago
dslog.rst 3f447e19d0 Reading of log input from arbitrary file descriptors 5 years ago
multicall.c e4cfec6e0d Update to changes in libwheel 2 years ago
nofork.c c85f8eafe1 Fix file name in comment header 6 years ago
task.c e4cfec6e0d Update to changes in libwheel 2 years ago
task.h c9a9b30dfb Objectify task_t in preparation for dinit 4 years ago
util.c e4cfec6e0d Update to changes in libwheel 2 years ago
util.h e4cfec6e0d Update to changes in libwheel 2 years ago

README.md

DMon - Process Monitoring With Style

Build Status

This README contains only some random bits. For more in-depth writing, you may want to read the articles on DMon:

There are also manual pages, so please take a look at them.

Bulding standalone binaries

By default all tools are built into a single binary which can be symlinked with different names to switch between them (àla BusyBox). This is useful to save space and (to some degree) system memory.

You can build all DMon tools as separate binaries passing MULTICALL=0 to Make:

make MULTICALL=0

Remember to pass the option when doing make install as well:

make MULTICALL=0 install

Building libnofork.so

A tiny LD_PRELOAD-able “libnofork.so” library can be built by passing LIBNOFORK=1 to make. This library overrides the fork(2) and daemon(3) functions from the system libraries, in such a way that the process under effect will not be able of forking. This is interesting for running DMon with programs that have no option to instruct them not to fork.