Difference between revisions of "SQWareProduction:db2:lib:sqwdb2 GatherIndicators.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Functions explanation:
 
Functions explanation:
 
<pre>
 
<pre>
 +
gfsqw_BeginningCom
 +
gfsqw_ExecIsqlTrap $gvsqw_TmpFile.sql2 2>&1 >$gvsqw_TmpFile
 +
gfsqw_InsertChanges
 
gfsqw_InsertIndicators "archivingDb"
 
gfsqw_InsertIndicators "archivingDb"
 
gfsqw_InsertIndicators "database"
 
gfsqw_InsertIndicators "database"
 +
gfsqw_InsertIndicators "FS"
 
gfsqw_InsertIndicators "Licenses"
 
gfsqw_InsertIndicators "Licenses"
 +
gfsqw_PurgeLogDirAndFiles
 +
lfsqw_Archiving
 
lfsqw_ArchivingDb =>  
 
lfsqw_ArchivingDb =>  
 
lfsqw_ArchivingParameters
 
lfsqw_ArchivingParameters
 
lfsqw_GatherAlertLogFile =>  
 
lfsqw_GatherAlertLogFile =>  
 
lfsqw_GatherDatabase =>  
 
lfsqw_GatherDatabase =>  
 +
lfsqw_GatherDatabaseDB2i =>
 
lfsqw_GatherDatabaseSql =>  
 
lfsqw_GatherDatabaseSql =>  
lfsqw_GatherDatabaseSql 2>&1|sed 's,  *$,,g' > ${gvsqw_TmpFile}
+
lfsqw_GatherDatabaseSql 2>&1|sed 's,  *$,,g' |tee ${gvsqw_TmpFile}
 
lfsqw_GatherFs =>  
 
lfsqw_GatherFs =>  
 
lfsqw_GatherOverLoaded 2>&1
 
lfsqw_GatherOverLoaded 2>&1
 
lfsqw_GenerateInsertLicenses =>  
 
lfsqw_GenerateInsertLicenses =>  
 +
lfsqw_Main =>
 +
lfsqw_PostArchivingParameters
 +
lfsqw_Summary
 +
lfsqw_Summary =>
 
</pre>
 
</pre>
 
<br>
 
<br>
 
{{SQWareProductionSurchargeLib|db2|D2db2|sqwdb2_GatherIndicators.lib}}
 
{{SQWareProductionSurchargeLib|db2|D2db2|sqwdb2_GatherIndicators.lib}}
 
<br>
 
<br>

Latest revision as of 18:33, 3 July 2023

shell functions library $gvsqw_D2db2Bin/../lib/sqwdb2_GatherIndicators.lib:
lib for sqwdb2_GatherIndicators.ksh
Functions explanation:

gfsqw_BeginningCom
gfsqw_ExecIsqlTrap $gvsqw_TmpFile.sql2 2>&1 >$gvsqw_TmpFile
gfsqw_InsertChanges
gfsqw_InsertIndicators "archivingDb"
gfsqw_InsertIndicators "database"
gfsqw_InsertIndicators "FS"
gfsqw_InsertIndicators "Licenses"
gfsqw_PurgeLogDirAndFiles
lfsqw_Archiving
lfsqw_ArchivingDb => 
lfsqw_ArchivingParameters
lfsqw_GatherAlertLogFile => 
lfsqw_GatherDatabase => 
lfsqw_GatherDatabaseDB2i => 
lfsqw_GatherDatabaseSql => 
lfsqw_GatherDatabaseSql 2>&1|sed 's,  *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherFs => 
lfsqw_GatherOverLoaded 2>&1
lfsqw_GenerateInsertLicenses => 
lfsqw_Main => 
lfsqw_PostArchivingParameters
lfsqw_Summary
lfsqw_Summary => 


Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_D2db2Bin/../lib/sqwdb2_GatherIndicators.lib

by function with same name in $gvsqw_D2db2Bin/../lib_cust/sqwdb2_GatherIndicators.lib for all your environnement
or by $HOME/sqwConfig/sqwdb2_GatherIndicators.lib specifically for this user .