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-deviceinfo(1)


NAME

 hadbm deviceinfo - displays information about disk storage devices on each active data node

SYNOPSIS

 hadbm deviceinfo [details] [adminpassword=password | adminpasswordfile=filename] [agent=ma_url] [dbname]

DESCRIPTION

If a database is specified, the database should be existing as shown by the hadbm-list command. If the database name is not specified, the default database should exist as shown by the hadbm-list command.

The information displayed for each node of the database is:

  • total device size allocated in MB

  • free size in MB

  • usage in percentage

The status of the database and the nodes are not changed.

OPTIONS

-d details

This option displays detailed information about the named database.

w adminpassword

The actual HADBM administation password.

W adminpasswordfile

The file from which the HADBM administration password is read.

m agent

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

OPERANDS

dbname

The name of the database. The default database is hadb.

EXAMPLES

Example 1. Using deviceinfo without any options
hadbm deviceinfo
NodeNo	TotalSize	Freesize	Usage
3		1048		869		17%
4		1048		869		17%
5		1048		869		17%
6		1048		869		17%
Example 2. Using deviceinfo with a database specified and quiet option
hadbm deviceinfo -q mydatabase
3		1048		869		17%
4		1048		869		17%
5		1048		869		17%
6		1048		869		17%
Example 3. Using deviceinfo with details option
hadbm deviceinfo --details
NodeNo	TotalSize	FreeSize	Usage	NReads	Nwrites	DeviceName
3		1048		869		17%		0		42578		/export/home2/tmp//hadb.data-0.3
4		1048		869		17%		0		42554		/export/home2/tmp//hadb.data-0.4
5		1048		869		17%		0		42544		/export/home2/tmp//hadb.data-0.5
6		1048		869		17%		0		9828		/export/home2/tmp//hadb.data-0.6

EXIT STATUS

0

command executed successfully

1

error in executing the command

ERROR CODES

22002

specified database does not exist

SEE ALSO

hadbm-resourceinfo(1)


J2EE SDK 1.4Go To TopLast Changed 22 Dec 2004