This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

Commands for controlling cmdbdriver

This section describes the commands for controlling cmdbdriver.

Initialization and termination commands


The following table lists the commands for initializing and terminating the cmdbdriver program.

Command

Command full name

What it does

init

initialize

Initializes a session of the cmdbriver program. To successfully use the cmdbdriver program, first log in to and then initialize a session.

term

terminate

Terminates a session of the cmdbdriver program.

h, ?

help

Displays the list of cmdbdriver commands.

e, q

exit

Exits the cmdbdriver program.

log

login

Allows you to log in to a session of the cmdbdriver program. To successfully use the cmdbdriver program, first log in to and then initialize a session.

Recording and logging commands


The following table lists the commands for controlling cmdbdriver recording and logging.

Command

Command full name

What it does

rec

record

Starts recording the commands issued during a cmdbdriver session. The rec command helps create cmdbdriver scripts, which can be used for installing extensions to the data model. This command records only the input commands that you issue during a session.

srec

stop recording

Stops recording a cmdbdriver session.

oout

open out

Starts recording output of the commands that you issue during a cmdbdriver session.

cout

close out

Closes the file created for recording the output of commands that you issue during a cmdbdriver session.

ex

execute

Executes a specific cmdbdriver script file.

bl

begin loop

Begins a looping construct in a cmdbdriver script file. You must specify the number of iterations as a condition for the loop. This command is used only in script files.

el

end loop

Ends a looping construct in a cmdbdriver script file.

Thread and timer commands


The following table lists the commands for controlling cmdbdriver threads and timers.

Command

Command full name

What it does

lt

launch

Creates a timer thread for a command. You can delay the processing of commands using the rst command. The sleep time can be any number between zero and the specified number of seconds.

lwt

launch wait

Launches a thread that waits for an event to occur. You can release the wait for the thread with the rwt command.

rwt

release wait

Releases all the threads that are launched by the launch wait (lwt ) command.

st

sleep

Issues a sleep timer on a thread for the specified number of seconds.

rst

random sleep

Issues a sleep timer on a thread that occurs for a random number of seconds within the specified range.

msst

milliseconds sleep timer

Issues a sleep timer on a thread for the specified number of milliseconds.

Session configuration commands


The following table lists the commands for cmdbdriver session information.

Command

Command full name

What it does

gsc

get session configuration

Retrieves session configuration information.

ssc

set session configuration

Sets session configuration information.

Was this page helpful? Yes No Submitting... Thank you

Comments