Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

CustomCmd - createRemoteGuiCustomCmd

CustomCmd - createRemoteGuiCustomCmd

Description :

This command creates a custom command line interface command that can execute a GUI on a remote server. This option requires an X11 server on the client.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

Name

String

Name of the custom command.

objectType

Integer

The type of server object that this command can run against (SERVER - 5004, DIRECTORY - 8, FILE - 7).

OS

Integer

ID of the operating system (Unknown - 51, AIX - 35, HPUX - 5, LINUX - 3, SOLARIS - 2, WINDOWS - 1).

Command

String

Command string.

runtimeArgs

Boolean

Whether or not the user can enter additional arguments at execution time.

quickLaunch

Boolean

If this command is designed to execute against just one host, set this variable to true. If this command is designed to let the user choose additional hosts after specifying the initial target host, set this variable to false.

Example

The following example creates a remote custom command that can be executed against a Solaris server.

Script


#

# script constants

#

SERVER_TYPE=5004

DIRECTORY_TYPE=8

FILE_TYPE=7





Unknown_OS=51

AIX_OS=35

HPUX_OS=5

LINUX_OS=3

SOLARIS_OS=2

WINDOWS_OS=1





MULTIWINDOW_TYPE=1

SINGLEWINDOW_TYPE=2





blcli CustomCmd createRemoteGuiCustomCmd "xterm" $SERVER_TYPE $SOLARIS_OS "xterm" false true
Was this page helpful? Yes No Submitting... Thank you

Comments