This chapter covers some of the scripts and commands you can use after We recognize the probability, since you have a system that is active, that you already have set the to set your environment for A script called where the You might want to enter the The output file that was created by the The specifying either To start the conversational version of the The program displays the following message on your terminal.
When you have typed your request and pressed return, the requested information is displayed on your terminal followed by this.
The program continues to offer you this service until you enter a The specifies that the program should run for 1,000 loops.
This book is not the place to go into an extensive description of the BEA TUXEDO system administrative interface, When you want to bring Running this command (or the The For more information about using The following pages of the BEA TUXEDO Reference Manual are important:
Run the Application
bankapp
has been booted.
bankapp
environment. However, if that is not the case, if you are logging in cold to a running system, you will need to enter the following.
. ./bankvar
bankapp
.
The bankapp run Script
run
is provided with bankapp
. This script brings up the initial menu with its choice of six services you can request bankapp
to perform. run
contains a single command line:
mio -i MENU
-i
option tells mio
to use the MENU
mask rather than the default, which prompts for the name of the mask to use.
mio
command directly, just to see what happens. There is a HELP
screen that gives you a summary of a number of keystrokes that enable you to move around in mio
masks.
populate
script, pop.out
, can be used to provide account numbers, branch IDs, and other fields you can specify on the data entry masks, so your service requests produce some output.
Running the audit Client Program
audit.c
client program was described in Chapter 3, "bankapp Client Programs." To execute the program, enter the command line as follows.
audit {-a | -t} [
branch_id
]-a
for account balances or -t
for teller balances. If you specify a branch_id
, the report is limited to that branch; if you do not specify a branch_id
, the report is for all branches.
Running auditcon
audit
program, enter the command.
auditcon
to request a TELLER or ACCOUNT balance for a branch,
type the letter t or a, followed by the branch id,
followed by <return>for ALL TELLER or ACCOUNT balances, type t or a <return>
q <return> quits the programanother balance request ??
q
.
Using the driver Program
driver
program is a script that generates a series of transactions to simulate activity on the system. It is included as part of the sample application so you can get realistic-looking statistics with commands of the tmadmin
interface. By default, the driver
program generates 300 transactions. You can change that number with the -n
option, as in the following example.
driver -n1000
Using tmadmin
tmadmin
. We encourage you to use it while bankapp
is running to see the kind of information you can produce with tmadmin
subcommands.
Shutting Down bankapp
bankapp
down, enter the tmshutdown
(1) command with no arguments, as follows.
tmshutdown
shutdown
command of tmadmin
) will cause the shutting down of all application servers, gateway servers, TMSs, and administrative servers, and the removal of associated IPC resources.
shutdown
command must be issued from the MASTER
machine.
References
tmadmin
, the command-line interface for administration, see Chapter 14, "Monitoring a Running System," in Administering the BEA TUXEDO System.
mio
(1)