Small process daemonization and monitorization tool.
C Roff Makefile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
wheel @ 6cdfa07
.cirrus.yml
.gitignore
.gitmodules
CHANGELOG.md
COPYING
Makefile
README.md
dlog.8
dlog.c
dlog.rst
dmon.8
dmon.c
dmon.rst
drlog.8
drlog.c
drlog.rst
dslog.8
dslog.c
dslog.rst
multicall.c
nofork.c
task.c
task.h
util.c
util.h

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.