Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandshadbm-list(1)


NAME

 hadbm list - lists all the existing databases

SYNOPSIS

 hadbm list [adminpassword=password | adminpasswordfile=filename] [agent=ma_url]

DESCRIPTION

Use the hadbm list command to get a listing of all the existing database instances known to the management client running this command. If the list could not display the database instance, see the hadbm command if you are sure you have created it earlier.

OPTIONS

w adminpassword

The actual HADBM administation password. Using this option with the hadbm createdomain or hadbm create command requires that the password is entered each time any hadbm command is used.

The adminpassword is different from the hadbm dbpassword command. You must use both passwords when using the following commands: hadbm create, hadbm addnodes, hadbm refragment.

W adminpasswordfile

The file from which the passwords are read..

m agent

Identifies the URL to the Management Agent. The default is localhost:1862.

EXAMPLES

Example 1. Using list
hadbm list
Database
hadb
mydatabase

EXIT STATUS

0

command executed successfully

1

error in executing the command

ERROR CODES

22002

specified database does not exist

SEE ALSO

hadbm-clear(1), hadbm-clearhistory(1), hadbm-delete(1), hadbm-get(1), hadbm-restart(1), hadbm-resourceinfo(1), hadbm-set(1), hadbm-start(1), hadbm-stop(1)


J2EE SDK 1.4Go To TopLast Changed 31 Jan 2005