Return codes, Command line examples, Return codes command line examples – HP Integrity rx5670 Server User Manual

Page 16

Advertising
background image

Network Adapter License Utility

Tool usage

Chapter 2

16

Return codes

The following return codes may display:

Command line examples

The following are valid

nalicense

command line examples:

Example #1:

nalicense add <license string>

What it does:

Adds the provided license to the system and upon successful operation writes the
following message to both stdout and to the default log file:

Mon Sep 15 15:42:14 2003: Adding License “AAAAA-BBBBB-CCCCC-12345-12345”.

Success

Example #2:

nalicense display /m /l license.txt

What it does:

Displays all valid licenses on the system and upon successful operation writes the
following example message to both stdout and to the

license.txt

file located in the

same directory as

nalicense.exe

:

License String;Product Name;Ver;Type;Seats

Used;Days;Permitted;LeftAAAAA-BBBBB-CCCCC-12345-12345; Intelligent

Networking Pack;1;Demo;1;N/A;90;35

Example #3:

nalicense display /l license.txt

/help

Displays utility usage (optional).

/M

Prints license information in a format capable of being
parsed by machine (optional).

Table 2-1

nalicense

command line arguments (Continued)

Argument

Function

Table 2-2

nalicense

return codes

Code

Description

0

Success.

1

Duplicate license exists.

2

Invalid Integrity Essentials Intelligent Networking Pack license.

3

Unrecognized Integrity Essentials Intelligent Networking Pack license.

4

Usage error.

Advertising
This manual is related to the following products: