SQWareProduction:mysql:lib:sqwmys GatherIndicators.lib: Difference between revisions

From Wiki_dbSQWare
Jump to navigation Jump to search
m Updated by BatchUser
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
Functions explanation:
Functions explanation:
<pre>
<pre>
gfsqw_InsertIndicators "archiving"
gfsqw_BeginningCom
lfsqw_Archivage =>  
gfsqw_GatherHostInfos
gfsqw_GatherPathInfos
gfsqw_InitPurges
gfsqw_InsertChanges
gfsqw_InsertIndicators "Alert"
gfsqw_InsertIndicators "archivingDb"
gfsqw_InsertIndicators "Licenses"
gfsqw_InsertIndicators "Parameters"
gfsqw_InsertIndicators "Repli"
gfsqw_PurgeLogDirAndFiles
lfsqw_Archiving
lfsqw_ArchivingDb =>  
lfsqw_ArchivingParameters
lfsqw_GatherAlertLogFile
lfsqw_GatherAlertLogFile =>  
lfsqw_GatherAlertLogFile =>  
lfsqw_GatherDatabase
lfsqw_GatherDatabase =>  
lfsqw_GatherDatabase =>  
lfsqw_GatherDatabaseSql =>  
lfsqw_GatherDatabaseSql =>  
lfsqw_GatherDatabaseSql 2>&1 > ${gvsqw_TmpFile}
lfsqw_GatherDatabaseSql 2>&1|sed 's,  *$,,g' > ${gvsqw_TmpFile}
lfsqw_GatherFs
lfsqw_GatherFs =>  
lfsqw_GatherFs =>  
lfsqw_GatherOverloaded 2>&1
lfsqw_GatherOverLoaded 2>&1
lfsqw_GenerateInsertAlert =>  
lfsqw_GatherParameters
lfsqw_GenerateInsertFs =>  
lfsqw_GatherParameters =>
lfsqw_GatherRepli
lfsqw_GatherRepli =>
lfsqw_GatherRepliMaster =>
lfsqw_GatherRepliMaster 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's,  *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherRepliSlave =>
lfsqw_GatherRepliSlave 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's,  *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherUsers
lfsqw_GatherUsers =>
lfsqw_GatherUsersSql =>
lfsqw_GatherUsersSql 2>&1|sed 's,  *$,,g' > ${gvsqw_TmpFile}
lfsqw_GenerateInsertAlert
lfsqw_GenerateInsertLicenses
lfsqw_GenerateInsertLicenses =>  
lfsqw_GenerateInsertParameters
lfsqw_GenerateInsertParameters =>  
lfsqw_GenerateListFsDbf =>  
lfsqw_GenerateListFsDbf =>  
lfsqw_Main =>
lfsqw_PostArchivingParameters
</pre>
</pre>
<br>
<br>
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_GatherIndicators.lib}}
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_GatherIndicators.lib}}
<br>
<br>

Latest revision as of 14:46, 21 September 2025

shell functions library $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib:
lib for sqwmys_GatherIndicators.ksh
Functions explanation:

gfsqw_BeginningCom
gfsqw_GatherHostInfos
gfsqw_GatherPathInfos
gfsqw_InitPurges
gfsqw_InsertChanges
gfsqw_InsertIndicators "Alert"
gfsqw_InsertIndicators "archivingDb"
gfsqw_InsertIndicators "Licenses"
gfsqw_InsertIndicators "Parameters"
gfsqw_InsertIndicators "Repli"
gfsqw_PurgeLogDirAndFiles
lfsqw_Archiving
lfsqw_ArchivingDb => 
lfsqw_ArchivingParameters
lfsqw_GatherAlertLogFile
lfsqw_GatherAlertLogFile => 
lfsqw_GatherDatabase
lfsqw_GatherDatabase => 
lfsqw_GatherDatabaseSql => 
lfsqw_GatherDatabaseSql 2>&1|sed 's,  *$,,g' > ${gvsqw_TmpFile}
lfsqw_GatherFs
lfsqw_GatherFs => 
lfsqw_GatherOverLoaded 2>&1
lfsqw_GatherParameters
lfsqw_GatherParameters => 
lfsqw_GatherRepli
lfsqw_GatherRepli => 
lfsqw_GatherRepliMaster => 
lfsqw_GatherRepliMaster 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's,  *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherRepliSlave => 
lfsqw_GatherRepliSlave 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's,  *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherUsers
lfsqw_GatherUsers => 
lfsqw_GatherUsersSql => 
lfsqw_GatherUsersSql 2>&1|sed 's,  *$,,g' > ${gvsqw_TmpFile}
lfsqw_GenerateInsertAlert
lfsqw_GenerateInsertLicenses
lfsqw_GenerateInsertLicenses => 
lfsqw_GenerateInsertParameters
lfsqw_GenerateInsertParameters => 
lfsqw_GenerateListFsDbf => 
lfsqw_Main => 
lfsqw_PostArchivingParameters


Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib

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