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

Page 28

Advertising
background image

Table 2-1 Command line arguments (continued)

Function

Argument

Displays utility usage (optional).

/help

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

/M

Return codes

The following return codes may display:

Table 2-2 Return codes

Description

Code

Success.

0

Duplicate license exists.

1

Invalid Integrity Essentials Intelligent Networking Pack license.

2

Unrecognized Integrity Essentials Intelligent Networking Pack license.

3

Usage error.

4

Command line examples

The following are valid VTLicense command line examples:

Example #1:

VTLicense 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:

VTLicense display /m /l license.txt

What it does:

Displays all valid licenses on the system and upon successful operation writes the following
message to both stdout and to the license.txt file located in the same directory as VTLicense.exe:

License String;Product Name;Ver;Type;Seats

Used;Days;Permitted;Left;AAAAA-BBBBB-CCCCC-12345-12345; Intelligent

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

Example #3:

VTLicense display /l license.txt

What it does:

Displays all valid licenses on the system and upon successful operation writes the following
message to both stdout and to the license.txt file located in the same directory as VTLicense.exe:

License Details:
License #1
License String: AAAAA-BBBBB-CCCCC-12345-12345
Product Name: Intelligent Networking Pack
Product Version: 1
Product Type: Flexible
Seats Permitted: 1

28

Virus Throttle

Advertising