Hvrrouterconsolidate – Merge small tx files in router directory.
hvrrouterconsolidate [-options]... hub [chn]
If capture jobs run without integrate jobs then many transaction files (matching *.tx_integloc) will accumulate in $HVR_CONFIG/router/hub/chn.
These files can cause extra CPU load in other jobs. Small transaction files will also accumulate in $HVR_CONFIG/jnl/hub/chn if action Integrate /JournalRouterFiles is defined. Command hvrrouterconsolidate will merge many of these smaller files together. Consolidation is unsafe while an integrate job is running; for this reason hvrrouterconsolidate will only consolidate router files for integrate jobs which have scheduler job_state SUSPEND FAILED or PENDING (unless option -f supplied).
If the channel name is not supplied then router consolidation will be done for all channels.
Note that consolidation will not merge all small files; the algorithm instead processes files in batches of 10, 100, 1000 etc...
|–bbase||Base/radix. Otherwise 10 files are grouped.|
|–f||Consolidate files for all jobs, not just ones where job_state is inactive. Only used when the scheduler is not running.|
|–j||Journals only, ignore /router directory.|
|–hclass||Class for hub database.|
|–llocscope||Specific locations only. Value can have form loc or !loc.|
|–Nnrows||Max num rows. Larger files won't be joined.|
|–p||Only print OS commands, no execution.|
|–r||Router files only, ignore /jnl directory.|
|–sfsize||No consolidate if new file would exceed fsize. Default is 20Mb.|
|–udbuser||Database user name.|