Section: Maintenance Commands (8)Updated: 24 April 2006Local indexUp
netamsctl - command-line configuration tool for NeTAMS daemon
NeTAMS is a Network Traffic Accounting and Monitoring Software. Upon startup,
netams daemon process is accessible via command-line interface provided by
its "server" service. To connect, a generic telnet application could be used.
However, sometimes it is neccessary to issue just a single command: consider
an activity monitoring script, for example. In this case it is useful to provide
some level of automation and avoid login/password typing. That is wherer netamsctl
is a simple telnet-like application. It does automatic login onto running NeTAMS process,
ad it will issue a number of commands specified as arguments. Daemon's output will be then
directed to stdout.
specifies an alternate configuration file to use.
run silently, do not print username/password/port and command
CONFIGURATION FILE FORMAT
will search for a configuration file there:
Pathname could be overriden with command-line option
That file should contain at most following lines:
You can specify a single
comamnd, or a number of commands separated by
' && '
sequence (be aware of spaces). Multiple commands are neccessary to configure
services. For exapmle:
netamsctl show version
netamsctl service processor && unit host name AA sys-deny && exit
Of course, you should have NeTAMS daemon running somewhere, and neccessary