Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


14.3.8 listgroup (displays a list of group names)

Organization of this subsection

(1) Description

This subcommand displays a list of the group hierarchy names of the groups in the highest hierarchy that are stored in a cache.

(2) Rules

(3) Format

eztool listgroup [-s] [-v] [-f maximum-number-of-groups-during-forced-execution]
                 cache-name
                 [--format format-name]
                 [--columns column-name[,column-name]...]
                 [--filter filter-condition]
                 [--match matching-condition]

(4) Options and arguments

(a) -s or --single

Specify this option to display the group hierarchy names at the highest hierarchy for only the EADS server that stores the specified groups and on which this subcommand is executed.

(b) -v or --verbose

Specify this option if you want to display the details of the command's execution results.

(c) -f maximum-number-of-groups-during-forced-execution or --force maximum-number-of-groups-during-forced-execution

Specify this option when the number of groups in the target range is greater than 1,000 and you want to increase the maximum number of groups that can be processed by the subcommand, and then forcibly execute the subcommand.

Note that when this subcommand is executed with the maximum value increased, its processing might not be completed successfully and a large amount of EADS server resources might be used.

You can specify an integer in the range from 1001 to 10000 for the maximum number of groups.

Important note

Consider specifying this option when the number of groups in the target range is not too much greater than 1,000.

If the total number of groups in the highest hierarchy stored in any one of the EADS servers does not exceed 1,000, we recommend that instead of specifying this option, you execute the eztool listgroup command sequentially on each EADS server with the -s or --single option specified.

(d) cache-name

Specify the name of the cache for which group names are to be displayed.

The following characters are permitted for a cache name:

  • If cache property files were not used to create caches

    A maximum of 32 single-byte characters in ASCII codes 0x20 to 0x7E

  • If cache property files were used to create caches

    A maximum of 32 single-byte alphanumeric characters (0 to 9, A to Z, and a to z)

(e) --format format-name

For details about this option, see 14.4.2 How to specify the display format.

(f) --columns column-name[,column-name]...

For details about this option, see 14.4.3 How to specify column filters.

(g) --filter filter-condition

For details about this option, see 14.4.4 How to specify row filters.

(h) --match matching-condition

For details about this option, see 14.4.5 How to specify a condition match.

(5) Output example

The following shows output examples of the eztool listgroup command's execution results.

For details about the components of the displayed information, see 14.4.1 Components of the displayed information.

[Figure] If option -v or --verbose is omitted

[Figure]

[Figure] If option -v or --verbose is specified

[Figure]

The following tables list and describe the summary and content information that are displayed.

Table 14‒19: Summary information displayed by the eztool listgroup command

No.

Summary name

Description

Whether displayed

-v or --verbose option

Omitted

Specified

1

GroupCount

Number of groups in the highest hierarchy that are stored on EADS servers

Y

Y

Legend:

Y: Displayed

Table 14‒20: Content information displayed by the eztool listgroup command

No.

Column name

Description

Whether displayed

-v or --verbose option

Omitted

Specified

1

Server

EADS server's IP address and port number used to communicate with the EADS clients.#

This information is displayed in the following format:

IP address:port number

Y

Y

2

Position

Location (hash value) of an EADS server#

Y

Y

3

ID

EADS server ID#

Y

Y

4

GroupName

Group hierarchy name in the highest hierarchy

Y

Y

5

HashValue

Location (hash value) of a group in the highest hierarchy

N

Y

6

KeyCount

Number of keys belonging to the groups in the highest hierarchy

N

Y

Legend:

Y: Displayed

N: Not displayed

Notes:

The execution results are displayed according to the following priorities:

  1. The results are displayed in descending order of the Position values.

  2. The rows with the same Position value are displayed in natural order of the GroupName values. If the -v or --verbose option is specified, the rows with the same Position value are displayed in descending order of the HashValue values.

#

If the execution results contain multiple cells with the same value consecutively, only the first such cell is displayed and the other cells are omitted.

(6) Return code

The following table lists the return codes that this subcommand returns.

Table 14‒21: Return codes returned by the eztool listgroup command

No.

Return code

Description

eads.command.compat parameter omitted in the command properties

0300 specified in the eads.command.compat parameter in the command properties

1

0

0

Command execution was successful.

2

101

101

Initialization of the command failed.

3

120

The command failed due to a syntax error.

4

150

The command failed during execution.

5

200

The command failed due to a timeout.

When the --match option is specified:

If the condition was satisfied, the subcommand returns 0; otherwise, the subcommand returns 1. If the command's execution failed, the return code is the same as when the --match option is not specified.

(7) Notes