The nzstop command

Use the nzstop command to stop the Netezza Performance Server software operations. Stopping a system stops all the Netezza Performance Server processes that were started with the nzstart command.

The nzstop command is a script that initiates a system stop by halting all processing. Any queries in process are aborted and rolled back. Queries and processes typically stop very quickly.

Note: You must run nzstop while logged in as a valid Linux® user such as nz on the host. You cannot run the command remotely.

Syntax

The nzstop command uses the following syntax:
nzstop options

Inputs

The nzstop command takes the following inputs:
Table 1. The nzstop inputs
Input Description
nzstop -h Displays the help for the nzstop command.
nzstop -timeout secs Specifies the number of seconds to wait for the command to complete before it exits with a timeout error. The default is 300.

Options

The nzstop command takes the following options:
Table 2. The nzstop options
Command Option Description
nzstop -h   No options.
nzstop -timeout <time to wait> Specifies the timeout value.

Description

The nzstop command does the following:
Privileges required
You must be able to log on to the host system as the nz user.
Common tasks
Use the nzstop command to stop the system.

Usage

The following provides sample usage:
  • To display help, enter:
    nzstop -h
  • To specify a timeout of 300 seconds, enter:
    nzstop -timeout 300