Difference between revisions of "SQWareProduction:mssql:lib:sqwmsq GatherIndicators.lib"
m (Updated by Expdbtools) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
− | shell functions | + | shell functions library $gvsqw_MssBin/../lib/sqwmsq_GatherIndicators.lib:<br> |
{{SQWareProduction_sqwmsq_GatherIndicators.lib_presentation}} | {{SQWareProduction_sqwmsq_GatherIndicators.lib_presentation}} | ||
<br> | <br> |
Revision as of 21:29, 24 May 2011
shell functions library $gvsqw_MssBin/../lib/sqwmsq_GatherIndicators.lib:
lib for sqwmsq_GatherIndicators.ksh
Functions explanation:
echo "lfsqw_SizeInstance=$lfsqw_SizeInstance\nNbDatabases=$NbDatabases">${gvsqw_TmpFile}.size echo "values @Gather_date,'$lvsqw_InstanceParam',$lfsqw_SizeInstance,'$gvsqw_MajorVersion','$VersionPatch',$NbDatabases => " gfsqw_InsertIndicators "archive" grep "lfsqw_SizeInstance=" ${gvsqw_TmpFile}.size|cut -d= -f2|read lfsqw_SizeInstance lfsqw_Archivage => lfsqw_GenerateInsertAlert => lfsqw_GenInsertDatabases => lfsqw_GenInsertDataserver => lfsqw_GenInsertSpace => lfsqw_SizeInstance=0 lfsqw_SizeInstance=lfsqw_SizeInstance+Size_db => => lfsqw_SqlInsertSpace =>