Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Command Reference

## UNLOCK

(Deprecated) Unlocks the specified WebLogic Server after a LOCK operation.

This command is deprecated because the `LOCK` command is deprecated. Instead of `LOCK` and `UNLOCK`, use `STARTINSTANDY` and `RESUME`. For more information, refer to RESUME.

### Syntax

>     java [ SSL Arguments ] weblogic.Admin
>          [-url URL]
>          [ User Credentials Arguments ]
>        UNLOCK

### Example

In the following example, an administrator named `adminuser` with a password of `gumby1234` requests the unlocking of the WebLogic Server listening on port 7001 on machine `localhost`:

>     java weblogic.Admin -url localhost:7001 -username adminuser
>        -password gumby1234 UNLOCK

# Commands for Retrieving Information about WebLogic Server and Server Instances

Table 1-5 is an overview of commands that return information about WebLogic Server installations and instances of WebLogic Server. Subsequent sections describe command syntax and arguments, and provide an example for each command.

Table 1-5 Overview of Commands for Retrieving Information about WebLogic Server

Command | Description
--- | ---
`CONNECT` | Makes the specified number of connections to a WebLogic Server instance and returns two numbers representing the total time for each round trip and the average amount of time (in milliseconds) that each connection is maintained. See CONNECT.
`GETSTATE` | Returns the current state of the specified WebLogic Server instance. See GETSTATE.
`HELP` | Provides syntax and usage information for all WebLogic Server commands (by default) or for a single command if a command value is specified on the HELP command line. See HELP.
`LICENSES` | Lists the licenses for all WebLogic Server instances that are installed on a specific server. See LICENSES.
`LIST` | Lists the bindings of a node in a server's JNDI naming tree. See LIST.
`PING` | Sends a message to verify that a WebLogic Server instance is listening on a port and is ready to accept client requests. See PING. For a similar command that returns information about all servers in a cluster, see CLUSTERSTATE.
`SERVERLOG` | Displays the server log file generated on a specific server instance. See SERVERLOG.
`THREAD_DUMP` | Provides a real-time snapshot of the WebLogic Server threads that are currently running on a particular instance. See THREAD_DUMP.
`VERSION` | Displays the version of the WebLogic Server software that is running on the machine specified by the value of `URL`. See VERSION.