SQWareProduction:sybase:lib:sqwsyb GatherIndicators.lib : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
(4 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 4 : | Ligne 4 : | ||
Explication des fonctions: | Explication des fonctions: | ||
<pre> | <pre> | ||
+ | gfsqw_BeginningCom | ||
+ | gfsqw_GatherHostInfos | ||
+ | gfsqw_GatherPathInfos | ||
gfsqw_GenDatabasesList > $gvsqw_TmpFile.lst | gfsqw_GenDatabasesList > $gvsqw_TmpFile.lst | ||
+ | gfsqw_InsertChanges | ||
gfsqw_InsertIndicators "Alert" | gfsqw_InsertIndicators "Alert" | ||
gfsqw_InsertIndicators "archivingDb" | gfsqw_InsertIndicators "archivingDb" | ||
gfsqw_InsertIndicators "databases" | gfsqw_InsertIndicators "databases" | ||
gfsqw_InsertIndicators "dataserver" | gfsqw_InsertIndicators "dataserver" | ||
+ | gfsqw_InsertIndicators "del users" | ||
gfsqw_InsertIndicators "parameters" | gfsqw_InsertIndicators "parameters" | ||
gfsqw_InsertIndicators "tables for $lvsqw_DbName" | gfsqw_InsertIndicators "tables for $lvsqw_DbName" | ||
+ | gfsqw_InsertIndicators "users for $lvsqw_DbName" | ||
+ | gfsqw_PurgeLogDirAndFiles | ||
+ | lfsqw_AllTables | ||
lfsqw_AllTables => | lfsqw_AllTables => | ||
+ | lfsqw_Archiving | ||
lfsqw_ArchivingDb => | lfsqw_ArchivingDb => | ||
lfsqw_ArchivingParameters | lfsqw_ArchivingParameters | ||
Ligne 18 : | Ligne 27 : | ||
lfsqw_Dataserver => | lfsqw_Dataserver => | ||
lfsqw_Dataserver | tee ${gvsqw_TmpFile} | lfsqw_Dataserver | tee ${gvsqw_TmpFile} | ||
+ | lfsqw_GatherAlertLogFile | ||
lfsqw_GatherAlertLogFile => | lfsqw_GatherAlertLogFile => | ||
+ | lfsqw_GatherDatabases | ||
lfsqw_GatherDatabases => | lfsqw_GatherDatabases => | ||
+ | lfsqw_GatherDataserver | ||
lfsqw_GatherDataserver => | lfsqw_GatherDataserver => | ||
+ | lfsqw_GatherFs | ||
lfsqw_GatherFs => | lfsqw_GatherFs => | ||
+ | lfsqw_GatherOverLoaded | ||
+ | lfsqw_GatherParameters | ||
lfsqw_GatherParameters => | lfsqw_GatherParameters => | ||
lfsqw_GenerateInsertAlert > ${gvsqw_TmpFile}.sql | lfsqw_GenerateInsertAlert > ${gvsqw_TmpFile}.sql | ||
+ | lfsqw_GenerateListFsDbf => | ||
lfsqw_GenInsertDatabases => | lfsqw_GenInsertDatabases => | ||
lfsqw_GenInsertDatabases > ${gvsqw_TmpFile}.sql | lfsqw_GenInsertDatabases > ${gvsqw_TmpFile}.sql | ||
Ligne 32 : | Ligne 48 : | ||
lfsqw_GenInsertTables | lfsqw_GenInsertTables | ||
lfsqw_GenInsertTables => | lfsqw_GenInsertTables => | ||
+ | lfsqw_Main => | ||
lfsqw_Parameters => | lfsqw_Parameters => | ||
lfsqw_Parameters | tee ${gvsqw_TmpFile} | lfsqw_Parameters | tee ${gvsqw_TmpFile} | ||
+ | lfsqw_PostArchivingParameters | ||
lfsqw_Tables => | lfsqw_Tables => | ||
+ | lfsqw_Users => | ||
</pre> | </pre> | ||
<br> | <br> | ||
{{SQWareProductionSurchargeLib|sybase|Syb|sqwsyb_GatherIndicators.lib}} | {{SQWareProductionSurchargeLib|sybase|Syb|sqwsyb_GatherIndicators.lib}} | ||
<br> | <br> |
Version actuelle datée du 27 septembre 2023 à 17:46
librairies de fonctions shell $gvsqw_SybBin/../lib/sqwsyb_GatherIndicators.lib:
lib for sqwsyb_GatherIndicators.ksh
Explication des fonctions:
gfsqw_BeginningCom gfsqw_GatherHostInfos gfsqw_GatherPathInfos gfsqw_GenDatabasesList > $gvsqw_TmpFile.lst gfsqw_InsertChanges gfsqw_InsertIndicators "Alert" gfsqw_InsertIndicators "archivingDb" gfsqw_InsertIndicators "databases" gfsqw_InsertIndicators "dataserver" gfsqw_InsertIndicators "del users" gfsqw_InsertIndicators "parameters" gfsqw_InsertIndicators "tables for $lvsqw_DbName" gfsqw_InsertIndicators "users for $lvsqw_DbName" gfsqw_PurgeLogDirAndFiles lfsqw_AllTables lfsqw_AllTables => lfsqw_Archiving lfsqw_ArchivingDb => lfsqw_ArchivingParameters lfsqw_Databases lfsqw_Databases => lfsqw_Dataserver => lfsqw_Dataserver | tee ${gvsqw_TmpFile} lfsqw_GatherAlertLogFile lfsqw_GatherAlertLogFile => lfsqw_GatherDatabases lfsqw_GatherDatabases => lfsqw_GatherDataserver lfsqw_GatherDataserver => lfsqw_GatherFs lfsqw_GatherFs => lfsqw_GatherOverLoaded lfsqw_GatherParameters lfsqw_GatherParameters => lfsqw_GenerateInsertAlert > ${gvsqw_TmpFile}.sql lfsqw_GenerateListFsDbf => lfsqw_GenInsertDatabases => lfsqw_GenInsertDatabases > ${gvsqw_TmpFile}.sql lfsqw_GenInsertDataserver => lfsqw_GenInsertDataserver > ${gvsqw_TmpFile}.sql lfsqw_GenInsertParameters => lfsqw_GenInsertParameters > ${gvsqw_TmpFile}.sql lfsqw_GenInsertTables lfsqw_GenInsertTables => lfsqw_Main => lfsqw_Parameters => lfsqw_Parameters | tee ${gvsqw_TmpFile} lfsqw_PostArchivingParameters lfsqw_Tables => lfsqw_Users =>