NAME

netamsctl - command-line configuration tool for NeTAMS daemon

SYNOPSIS

netamsctl [ -s -f <config-file> ] command ...

DESCRIPTION

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
useful.
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.

OPTIONS

-f config-file
config-file specifies an alternate configuration file to use.
-s run silently, do not print username/password/port and command

CONFIGURATIONFILEFORMAT

By default, netamsctl will search for a configuration file there:
~/.netamsctl.rc/etc/netams/netamsctl.rc Pathname could be overriden
with command-line option -f. That file should contain at most
following lines:
login= your_netams_login_name
password= your_netams_password_unencrypted
host= host_name_or_IP_where_netams_running

COMMANDS

You can specify a single netams comamnd, or a number of commands
separated by ’ && ’ sequence (be aware of spaces). Multiple commands
are neccessary to configure netams services. For exapmle:
netamsctl"showversion"netamsctl"serviceprocessor&&unithostnameAAsys-deny&&exit"

SYSTEMREQUIREMENTS

Of course, you should have NeTAMS daemon running somewhere, and
neccessary access rights.