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)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
gfsqw_InsertIndicators "FS"
 
gfsqw_InsertIndicators "FS"
 
gfsqw_InsertIndicators "Licenses"
 
gfsqw_InsertIndicators "Licenses"
 +
gfsqw_PurgeLogDirAndFiles
 
lfsqw_Archiving
 
lfsqw_Archiving
 
lfsqw_ArchivingDb =>  
 
lfsqw_ArchivingDb =>  
Line 18: Line 19:
 
lfsqw_GatherDatabaseDB2i =>  
 
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

Latest revision as of 17: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 .