8.2 Using NCPCON to Monitor NCP Server

  1. Open a terminal console on the Linux server you want to manage, then log in as the root user.

  2. At a terminal console prompt, enter

    ncpcon
    
  3. In NCPCON, use any of the following NCPCON commands to view server information:

    Command

    Description

    config
    

    Displays the NCP Server configuration information, such as the server name, server version, product version, NCP version, mixed-mode paths status (yes/no), and commit files status (yes/no).

    stats
    

    Displays NCP statistics, such as the following:

    • Server up time

    • Packets in

    • Packets dumped

    • Packet receive buffer memory

    • Packet reply buffer memory

    • NCP requests

    • NCP connections in use

    • Connection table memory

    • Mounted volumes

    • Number of open files

    • Local ID tracking

    • File handle memory

    • Volume sys: file and subdirectory caching memory

    • Volume sys: trustee and inherited rights mask tracking memory

    version

    Displays version information for all currently running Novell NCP Server components, the OES build, and the hardware platform.

    volume
    

    Displays a list of currently mounted NCP volumes.

    volume ncp_volume_name
    

    Displays information about the specified volume. The volume must be mounted before you issue the command.

    log [filename] [level]
    

    Adjusts the logging level of either the NCP Server log (/var/opt/novell/log/ncpserv.log) or the ncp2nss daemon log (/var/opt/novell/log/ncp2nss.log).

    This command can be added to a cluster load script.

    Options:

    • filename

      [ncpserv.log | ncp2nss.log]
      
    • level

      [debug | dump | error | everything | info | nothing | warning]
      

    Examples:

    log ncpserv.log debug
    
    log ncp2nss.log warning
    

    By default, the logging level is set to warning for both the NCP Server and ncp2nss daemon logs.