Hello together,
during the past few weeks I worked occasionaly on a nice little trace daemon
for the web100 framework. Inspired by the trace daemon traced, developed by
John Dunigan et al, I implemented some equivalent functionality from scratch
as some measurement results were not sufficient to me.
The new trace daemon, called ntd, reads the configuration parameters like IP
addresses and ports from a configuration file called ntd.conf as well as the
web100 variables that should be monitored by the daemon. The snapshot step
size is currently set to 0.1 seconds, but can be adjusted to a smaller size,
too. Further more the program provides optional parameters for the output of
the text (-o, --output; the default is stdout) and the time how long the
daemon should be run in seconds (-t, --time; default is ten seconds).
I implemented the C program completely standard conform (C99) with some POSIX
extensions, therefore a compilation with the gcc options "-W -Wall -pedantic
-std=c99" succeeds without warnings.
The program is open source and can be used and modified for any purpose.
You can get the source code here: www.roehricht.info/cs_programming.php
Any comments and suggestions are welcome.
Bye,
Martin
_______________________________________________
Discussion mailing list
Discussion@xxxxxxxxxx
http://internal.web100.org/mailman/listinfo/discussion
|