[ Tcllib Table Of Contents | Tcllib Index ]
nnslog(n) 1.0 "Name service facility"
nnslog - Name service facility, Commandline Logging Client Application
Please read Name service facility, introduction first.
It essentially implements "nns search -continuous *", but uses a different output formatting. Instead of continuously showing the current contents of the server in the terminal it simply logs all received add/remove events to stdout.
This name service facility has nothing to do with the Internet's Domain Name System, otherwise known as DNS. If the reader is looking for a package dealing with that please see either of the packages dns and resolv, both found in Tcllib too.
nnslog was written with the following main use case in mind.
Monitoring the name service for all changes and logging them in a text terminal.
- nnslog ?-host host? ?-port port?
The command connects to the specified name service, sets up a search for all changes and then prints all received events to stdout, with each events on its own line. The command will not exit until it is explicitly terminated by the user. It will especially survive the loss of the connection to the name service and reestablish the search and log when the connection is restored.
The options to specify the name service will be explained later, in section OPTIONS.
This section describes all the options available to the user of the application
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category nameserv of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.
Copyright © 2008 Andreas Kupries <firstname.lastname@example.org>