logo

Manual Pages


Table of Contents

NAME

na_cifs_terminate - terminate CIFS service

SYNOPSIS

cifs terminate [ -t minutes ] [ workstation | IP_address ]

DESCRIPTION

The cifs terminate command is used to terminate CIFS service. If the workstation operand is specified, then all CIFS sessions open by that workstation will be terminated. It is also possible to terminate a session using the client IP_address. If workstation or IP_address is not specified, then all CIFS sessions will be terminated and CIFS service will be shut down completely. To restart CIFS service after it has been shut down, use the cifs restart command (see na_cifs_restart(1)).

If CIFS service is terminated for a workstation that has a file open, then that workstation will not be able to save any changes that it may have cached for that file, which could result in the loss of data. Therefore, it is very important to warn users before terminating CIFS service. The -t option, described below, can be used to warn users before terminating CIFS service.

If you run cifs terminate without the -t option and the affected workstations have open files, then you'll be prompted to enter the number of minutes that you'd like to delay before terminating. If you execute cifs terminate from rsh(1) you will be required to supply the -t option since commands executed with rsh(1) are unable to prompt for user input.

OPTIONS

-t minutes
Specifies the number of minutes to delay before terminating CIFS service. During the delay the system will periodically send notices of the impending shutdown to the affected workstations. (Note: workstations running Windows95/98 or Windows for Workgroups won't see the notification unless they're running WinPopup.) If the specified number of minutes is zero, then CIFS service will be terminated immediately.

SEE ALSO

na_cifs_restart(1), na_halt(1), na_reboot(1), rsh(1).


Table of Contents