background image
<< To limit access to a host machine | To instruct LoadRunner to use the Korn shell >>
<< To limit access to a host machine | To instruct LoadRunner to use the Korn shell >>

Working with the Bourne shell

Running a Scenario Configuring a Scenario
LoadRunner Controller User's Guide (Windows)
Chapter 9, page 154
In
Working with the Bourne shell, the Korn shell, the C shell
By default, LoadRunner uses the C shell as its environment for running processes,
and uses the .
cshrc
initialization file to create the working environment. If your
application runs under the Bourne shell or the Korn shell, you need to instruct
LoadRunner to work in the correct environment. For instance, instead of using the
.
cshrc
file, the Korn shell uses the .
profile
initialization file to create the working
environment. In some cases, the Korn shell initialization file has another name,
such as .
kshell
. Substitute the correct name wherever necessary.
To allow LoadRunner to run your application under the Korn shell, you first need to
make sure that the .
profile
file contains all of the LoadRunner environment settings,
for example, the M_LROOT definition and the LicenseManager variable. These
environment settings already exist in your .
cshrc
file. Your UNIX
$M_LROOT/templates directory contains a template for the .
profile
file, called
dot.profile
. Use the template as a guide for modifying your .
profile
file with the
LoadRunner environment settings.
Once you've set up your .
profile
file, you need to instruct LoadRunner to use the
Korn shell instead of the C shell.