 |
|
|
NAME
| set - sets the values of attributes |
SYNOPSIS
| set[ --monitor ]--user admin_user[ --password admin_password ][ --host localhost ]
[ --port 4848 ][ --passwordfile filename ][ --secure|-s ]
attributename=value[ attribute_name=value ]* |
|
Sets the values of one or more configurable attribute. The settings
do not take affect until you run the reconfig command.
|
|
- --monitor
- defaults
to false; if set to false, the configurable attribute values are returned.
If set to true, the monitorable attribute values are returned.
- --user
- administrative
user associated for the instance.
- --password
- administrative
password corresponding to the administrative user.
- --host
- host name
of the machine hosting the administrative instance.
- --port
- administrative
port number associated with the administrative host.
- --passwordfile
- file containing passwords appropriate for the command (e.g., administrative
instance).
- --secure
- if true,
uses SSL/TLS to communicate with the administrative instance.
|
|
-
attributename=value
- identifies the configurable or monitorable attribute name and its value.
|
| Example 1. Using set
|
|
asadmin> set --user admin --passwordfile passwords.txt --host localhost
--port 4848 server1.application.fortune.enabled=false
Attribute enabled set to false
|
|
|
|
- 0
- command executed successfully
- 1
- error in executing the command
|
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|