Ref: 03250441
Title: Undocumented NCS/AT Commands
Date: 9/25/87

Copyright 3Com Corporation, 1991.  All rights reserved.

1.  svrctrl:  Server Control - used for killing servers or
enabling 'verbose' mode, which is useful for tracing.

Usage: svrctrl svrname [-v] [-d] [-q] [-k] [-n filename] [-ld] [-h hostname]
 (for netcsvr only) [-t trace flags] [-r [boot file]] [-c] [-a]
 svrname as found in /etc/services
 options verbose, debug, quiet, kill, local_debug
 filename is used by target to reopen stdout
 hostname as found in /etc/hosts
 boot file is network contoller load image
 netcsvr reboot options console, autoreboot

Note:  To kill server manually, get the process ID (PID) using
the "ps -d" command, then issue command "kill -9 <PID>".  To
restart servers, use command "/usr/ncs/etc/<svrname> &".  The
ampersand makes it a background process.  Sample ps output:

NCSAT% ps -d
   PID TTY  TIME COMMAND
     1   ?  0:26 init
    25   ?  0:00 logger
    24   ?  5:57 update
    78  02  0:00 uish
    44   ?  0:01 netcsvr
  6257  1A  0:04 btsvr
    47   ?  7:42 filsvr
    48   ?  0:22 namsvr
    49   ?  0:12 nmsvr
  2503  03  0:16 csh
  1373  04  0:01 uish
  5121  04  0:08 csh
  6449  1A  0:00 uish
  6451  1A  0:03 csh
  6463  1A  0:00 ps
  6399   ?  0:00 tail
  6400   ?  0:00 fgrep

2.  whatsvrs:  What Servers - used for listing active servers and
their status ("Quiet", or "Verbose", the latter being trace mode)

NCSAT% whatsvrs
btsvr flags are now (Quiet )
filsvr flags are now (Quiet )
namsvr flags are now (Quiet )
netcsvr flags are now (Quiet )
nmsvr flags are now (Quiet )

3.  Trace<svrname>:  Command syntax is "trace<svrname> on|off".
An example command would be "tracebtsvr on".  In order to
interpret the resulting status messages, it is helpful to
understand the protocol involved.  (See volume two of the
Software Technical Reference Manual.)

NCSAT% tracebtsvr
Usage: tracebtsvr on|off
NCSAT% tracefilsvr      svr
Usage: tracefilsvr on|off
NCSAT% tracenamsvr
Usage: tracenamsvr on|off
NCSAT% tracenmsvr
Usage: tracenmsvr on|off
