Page tree

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.

The following examples illustrate how to use the dump history utility to extract certain types of information:

For current host

The following command prints all parameters for the current host:

dump_hist

For application instance

The following command prints all parameters of the application instance, db_manager, on a host entitled host1:

dump_hist -host host1 -p 3181 -inst db_manager

To print time as an integer rather than a local time string

The following command disallows the conversion of time stamps to a local time string:

dump_hist -host host1 -p 3181 -inst db_manager -timestamp

Following is a sample line of output generated by this command:

smile|USRNoSession|22|10/16/CCYY|202153

To write to a file

This command redirects the output of dump_hist to a file called dump_hist.out. Each line of this file uses a pipe symbol to separate the values and displays the host name, parameter name, parameter value, date, and time.

dump_hist -format "%H|%P|%v|%m/%d/%y|%h%M%s" >dump_hist.out

For a specific time period

This command prints history data from October 1, CCYY 8:00AM through October 1, 9:00AM of the same year.

dump_hist -s 10010800CCYY -e 10010900CCYY

Note

CCYY represent the century and year. When using this format option, enter the actual year.