Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Home / DBAdmin-Tools / logcheck
Name Modified Size InfoDownloads / Week
Parent folder
keystroke 2020-05-11 226 Bytes
logcheck.sh 2020-05-11 707 Bytes
readme.txt 2020-05-11 1.4 kB
Totals: 3 Items   2.4 kB 0
## Author: Tom Garner, James Thompson
## Company: US Courts
## Create Date: February 15, 2002
## Modification Date: 
## Database:  Informix IDS 7.31.UC4
## OS: Solaris 7, Intel

Problem:
We had some logical log tapes that were not labeled properly 
(the log numbers were not recorded). We needed a way to retrieve 
what logs numbers were contained on a specific tape(s).

After speaking with Informix support there was no specific utility 
to get at the "specific" information we wanted, which was the log 
numbers only.

Solution:
We developed a couple of scripts to get at the information we needed. 
The Informix utility that is used is the onlog utility but the script 
logcheck.sh strips the output to retrieve the logs numbers contained 
on the tape.

Note:
These programs were developed for a tape device. Since our platform 
is a Solaris 7 (Intel) the scripts are simple shell programs.

If you are using files for your logical logging then mods will have to
be made. 

**There is no implied warranty, and we are not responsible for
any problems these scripts may cause. (Though I cannot think of any 
problems....it might cause)**

The package contains two files:

keystroke 	- 	Answers to the onlog command

logcheck.sh 	- 	is the shell script which prompts
			for the tape device, then runs onlog
			and strips out the information on the
			log numbers.

Files must be owned by informix:informix;
Permissions set to: 755
Source: readme.txt, updated 2020-05-11