insert_raw2

Section: WIN SYSTEM (1W)
Updated: 2002.5.31
Index Return to Main Contents
 

NAME

insert_raw2 - Insertion of timed-out data into one minute files  

SYNOPSIS

insert_raw2 prmfile

 

DESCRIPTION

Insert_raw2 is the high-speed (low-load) version of insert_raw(1W) and is a shell script. Insert_raw2 reads data files that timed out to order(1W) generated by wdiskts(1W) and inserts them into proper lines in one minute files (continuous files) written by wdisk(1W). prmfile has a part which goes as follows:
━━━━━FROM HERE━━━━━
# This file is insert_raw's parameter file
/dat/raw                # raw data dir
/dat/raw_timeouts       # time-out data dir
/dat/tmp                # temporary dir
3                       # wait min. from raw LATEST
━━━━━TO HERE━━━━━━            ^^^
The line starting with # is a comment. The number in the fourth line is a value that means that timeout data will be immediately inserted into up to the file three minutes older than raw LATEST.

Insert_raw2 uses wdisk(1W) and wadd2(1W) internally. Insert_raw2 uses the 'date -j' command internally, but this seems to work only with FreeBSD4.X and later.

When insert_raw2 is initiated without any argument, brief usage is displayed.  

SOURCE

`insert_raw2'
 

SEE ALSO

insert_raw(1W), wdisk(1W), wadd2(1W)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SOURCE
SEE ALSO