oltpdirecotry

NAME
SYNOPSIS
OPTIONS
USAGE
EXAMPLE
COPYRIGHT
SEE ALSO

NAME

oltpdirectory − Print the name of a directory

SYNOPSIS

oltpdirectory [-a|--awrdirectory] [-h|-H|--help] [-s|--scalekey key] [-l|--latest] [-r|--runnumber N]

OPTIONS

-a|--awrdirectory

By default, the name of the results directory will be output, use this option to output the name of the directory where html and generated graphics is stored.

-s|--scalekey key

Output the name of the directory where gnuplot input, csv files, etc. for some specific scale run is found.

-r|--runnumber NNN

Output the name of the directory where gnuplot input, csv files, etc. for some specific run is found.

-l|--latest

Output the name of the directory where gnuplot input, csv files, etc. for the latest run from the current host is found.

-k|--key key

Provide a key in the repository rather than the default taken from the RWLOLTP_NAME environment variable. This option is only relevant if you also use the -l or --latest option.

-h|-H|--help

Only output a short help.

USAGE

The oltpdirectory command will output nothing but the name of a directory and is typically used to provide an argument for the cd command. By default, the directory output will be the top level results directory, but providing the -a option, the top level awr directory will be output. If you provide either of the -r option with a runnumber as argument or the -s option with a key used for oltpscale, the complete directory name where the actual files are stored will be output.

EXAMPLE

If you did an oltpscale with a key of ’myscale1’ you can change your current directory to the directory where all input for e.g. gnuplot is by doing:

cd ‘oltpdirectory -s myscale1‘

COPYRIGHT

Copyright © 2023 Oracle Corporation
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl

SEE ALSO

oltpparams(2rwl)