Restart a Terminal

The Restart a TERMINAL option in Admin Corner allows you to restart a terminal or server from any active terminal. Restarting a terminal or server is a staff function and is normally password-protected.

When you choose this option, the system displays a list containing the login or terminal name (the USER column), the UNIX Process ID (PID), the port to which the login or terminal is attached, and a brief description of the "process" (program) being run on each at the moment you select the option. The displayed login name is one that has been assigned. See Administering Basic Info for more information.

                            ACTIVE TERMINALS/PROCESS
       USER      PID       PORT    PROCESS
 01 > staff     22421     ttyd0   mainmenu
 02 > iii       21243     ttyd3   Restart a terminal
 03 > staff     17846     ttyd7   Update records
 04 > staff     20522     ttyd10  Serials check-in
 05 > cat       23543     ttyd14  mainmenu
 06 > staff     2991      ttyq8   Staff searching
 07 > publ      3001      ttyq9   WebPAC
 08 > publ      3030      ttyq11  WebPAC
 09 > publ      1648      ttyq14  WebPAC
 10 > publ      20747     ttyq15  WebPAC
 11 > staff     21320     ttyq17  File maintenance
 12 > circ      9900      ttyq18  Check-out
 13 > iii       22770     none    Millennium Data
 14 > milacq    24689     none    Acquisitions 123.123.123.1
 15 > milcirc   3848      none    Circulation 123.123.123.27
 16 > milser    31208     none    Serials 123.123.123.43
___________________________________________________________________________
  Key number of terminal to restart, or
 F > FORWARD                             S > SORT
 R > RECHECK all terminals               A > Show ALL
 L > LIMIT display                       Q > QUIT
 M > Restart MULTIPLE Terminals
 Choose one (1-23,F,R,L,M,S,A,Q)

ABOUT DATA PROCESSES AND SERVERS

The Data Server and Millennium Data processes send database records and other data to Sierra clients. Under ordinary circumstances, you should never restart them. See Restarting a Session or Process.

F > FORWARD or B > BACKWARD

Browse forward or backward through the list.

R > RECHECK all terminals

When you initially select RESTART a terminal, the system collects statistics on all active terminals and processes at that particular moment. If you are in the RESTART a terminal function for more than a couple of minutes, this information may no longer be accurate. Select the RECHECK all terminals option periodically to cause the system to check the active terminals and processes, thereby keeping the information on the screen up-to-date.

L > LIMIT display

Use this option to limit the list of active terminals based on a string in the USER, PID, PORT, or PROCESS column. When you select this option, the system prompts:

Enter limit string: ___________________

For example, if you enter the string mainmenu, the system displays only those terminals that are running the mainmenu process. Select the R > RECHECK all terminals option again to the full display of all terminals.

A > Show ALL

Choose this option to view all processes, including those not associated with a particular terminal (known as "background" processes). The system prompts for your login and password. If you are authorized for this function, a screen similar to the following appears:

                       ACTIVE TERMINALS/PROCESS(FULL MODE)                 
       USER      PID       PORT    PROCESS
 01 > staff     22421     ttyd0   mainmenu
 02 > iii       21243     ttyd3   Restart a terminal
 03 > staff     17846     ttyd7   Update records
 04 > root      20522     none    /usr/lib/sendmail -bd -q15m
 05 > cat       23543     ttyd14  mainmenu
 06 > staff     2991      ttyq8   Staff searching
 07 > publ      3001      ttyq9   WebPAC
 08 > root      1         none    /etc/init
 09 > root      182       none    /etc/nfsd 4
 10 > root      181       none    /etc/nfsd 4
 11 > root      183       none    /etc/nfsd 4
 12 > root      180       none    /etc/nfsd 4
 13 > iii       22770     none    Millennium Data
 14 > root      24689     none    Data Server
 15 > milcirc   3848      none    Circulation 123.123.123.67
 16 > milser    31208     none    Serials 123.123.123.146
__________________________________________________________________________
 Key number of terminal to restart, or
 F > FORWARD                             S > SORT
 R > RECHECK all terminals               A > Show ALL
 L > LIMIT display                       O > Full Mode OFF
 M > Restart MULTIPLE Terminals          Q > QUIT
 Choose one (1-86,F,R,L,M,S,A,O,Q)

Choose Full mode OFF to return to the previous menu.

Warning! Contact Innovative's Help Desk for instructions before restarting any process shown in the Full mode display. This screen shows every process currently running on the computer, many of which should not be restarted.

Select sort option
U > sort by USER           T > sort by TASK
R > sort by PROCESS ID
P > sort by PORT
Choose one (U,R,P,T)

The default sort order is by USER.

Restart a Terminal

You can restart a terminal in the list by entering the line number of the terminal you want to restart. The system displays all active processes running on the selected port and prompts:

Press R to restart the port:

When you enter R, the system asks you to confirm that you want to restart the selected port. If you answer y, the system attempts to restart the specified terminal. If the restart is successful, the system displays a terminal restarted message. Press <SPACE> to return to the list of active terminals.

To restart several terminals at the same time, select the M > Restart MULTIPLE Terminals option. the system prompts:

Restart which lines? (1-23):

Enter the numbers of the terminals as a list of numbers separated by commas (e.g., 1, 5, 6, 9), a range using a dash as a separator (e.g., 4-8), or a combination of the two (e.g., 4-7,11,14,17-22). the system clears all non-selected terminals from the screen and asks:

Processes displayed above will be killed.

Are you sure? (y/n)

If you answer y, the system restarts the selected terminals. If you answer n, the system redisplays all active processes.