HPlogo NS 3000/iX Operations and Maintenance Reference Manual > Chapter 7 Commands

NSCONTROL ABORT

MPE documents

Complete PDF
Table of Contents
Index

Immediately terminates all the servers and services of the Network Services.

Syntax



  NSCONTROL ABORT

Parameters


ABORT

Immediately terminates all NS servers and services without allowing existing processes to run to completion. Useful in cases where you need to terminate Network Services immediately regardless of whether or not existing processes terminate normally. Note that STOP is the normal way to shutdown Network Services.

Discussion


There are two NSCONTROL functions that you can use to terminate the Network Services. Before using either method, be sure to warn all users that their network services are about to be closed.
  • NSCONTROL STOP allows existing users to continue using the services until they finish their tasks and prevents any new users from using the services. Using NSCONTROL STOP is the recommended way to terminate the Network Services. It allows the services to terminate gracefully.

  • NSCONTROL ABORT immediately terminates all the services and all the server processes. Use NSCONTROL ABORT only when you don't care about letting existing processes run to completion. Anyone using a service finds their task (REMOTE, DSCOPY, and so forth) immediately terminated.

HP recommends that you use the sequence of NSCONTROL STOP followed by NSCONTROL ABORT to ensure that you terminate all Network Services. Special situations where this may be appropriate include when the system is being prepared for software installation, or when the system needs to be taken down for maintenance. Abnormal situations can occur when an application has been incorrectly implemented. If you cannot terminate the session by any other method, use NSCONTROL ABORT to terminate all Network Services. This will clear any problems. The sequence to use prior to issuing the NSCONTROL ABORT command is shown in example 1; an abnormal situation is described in example 2.

Example 1


Issue a message to all users to stop using the Network Services. Use whatever method is appropriate for your installation. Then use the following to terminate the Network Services:

NSCONTROL ABORT

Prevents any users or programs from accessing Network Services.

Example 2


If a remote session has been terminated by the user but still shows as active on a SHOWJOB display, use ABORTJOB to terminate the session.

In the unlikely event that ABORTJOB does not work, use NSCONTROL ABORT. Be sure to follow the sequence shown in the examples before issuing the NSCONTROL ABORT command.

:NSCONTROL STATUS=USERS

NO CURRENT NETWORK SERVICE USERS

Checks that all users of the Network Services are finished.

:NSCONTROL ABORT

Terminates all users, services, and server processes.




NSCONTROL


NSCONTROL AUTOLOGON