The nzrev command
Use the nzrev command to display the software revision level.
On Linux® systems, you can use the nzcontents command to display the revision and build number of all the executable files, plus the checksum of binaries.
Syntax
The nzrev command
uses the following syntax:
nzrev [-h|-rev] [options]Inputs
The nzrev command
takes the following inputs:
| Input | Description |
|---|---|
| nzrev -dirSuffix | Displays the directory suffix form. For example, for Release
5.0 Beta1, the output is: |
| nzrev -rev | Displays the entire revision string, which includes all fields
(such as variant and patch level). For example: Entering the nzrev -rev command on the host is the same as entering the nzsystem showRev -u user -pw password -host host command on the client system. If you use only the nzrev command on the client, the command displays the revision of the client kit. |
| nzrev -shortLabel | Displays an abbreviated revision label. For example: |
| nzrev -buildType | Displays the type of build. Typical values are opt or dbg. |
Description
The nzrev command
does the following:
- Privileges required
- You do not need special privileges to run the nzrev command.
- Common tasks
- Use the nzrev command to display the revision level of the Netezza® software components.
Usage
The following provides
sample usage:
- To display the directory suffix form, enter:
nzrev -dirSuffix 5.0.6.P1 - To display the revision level, enter:
nzrev -rev Release 5.0.6 (P-1) [Build 11294] - To display the short form, enter:
nzrev -shortLabel 5.0.6