+
    i
  c                   s.    ^ RI HtHt  ! R R]]4      tR# )i    )PluginRedHatPluginc                   s<   a  ] tR t^t o RtRtRtRtR tR t	Rt
V tR# )	SaphanazSAP HANAZsaphanac                s   . pV P                  R 4      '       Ed=   V P                  R 4      pV F6  p\        V4      ^8X  g   K  VP                  4       pVP	                  V4       K8  	  V F  pVP                  4        R2pRV R2pV P                  V R2V R2R7       V P                  V R2V R2R7       V P                  V R	2V R
2R7       V P                  V R2V R2R7       V P                  RV R24      '       g   K  V P                  RV R24       F1  pRV9   g   K  VP                  4       RR pV P                  W4V4       K3  	  K  	  R# R# )z/hana/sharedZadmzsu - z -cz "HDB info"Z	_HDB_infoZsuggest_filenamez "hdbsrvutil -v"Z_versionz 'hdbcons "mm l -s -S -p"'Z	_memusagezS 'hdbcons -e hdbindexserver                                     "replication info"'Z_replicainfoz/hana/shared/Z/ZHDBNi)
path_isdirZlistdirZlenZstripZappendZloweradd_cmd_outputget_inst_info)selfZsidsZsharedsidsidadmZprefixinsts   &      ?/usr/lib/python3.14/site-packages/sos/report/plugins/saphana.pysetupZSaphana.setup   s   ??>**\\.1Fs8q=))+CKK$ 
 IIK=, ,##vhk$:8;uI5F $ H ##vh.>$?8;uH5E $ G ##vh.J$K8;uI5F $ H ##vh /9 %:8;uL5I $ K ??]3%q#9:: $}SE-C D D=#'::<#4D ..sDA !E%  +    c                s    RpV RV R2pV P                  WBV3,          VR7       RV RV R2pV P                  V4      '       d(   RpV RV R	2pV P                  WrV3,          VR7       R
# R
# )z Collect the given instance info z7su - %s -c "sapcontrol -nr %s -function GetProcessList"Z_Z_statusr   z	/usr/sap/z/HDBz/exe/python_supportz4su - %s -c "python %s/landscapeHostConfiguration.py"Z_landscapeConfigN)r   r   )	r   r   r	   r
   Zproc_cmdZstatus_fnameZpathZpy_cmdZpy_fnames	   &&&&     r   r   ZSaphana.get_inst_info5   s    LavW-~%) 	 	

 3%tD6)<=??4  KFav%56H$'!)    !r    N)Zsap)z/hana)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z
short_descZplugin_nameZprofilesZfilesr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s*     JKHE BD r   r   N)Zsos.report.pluginsr    r   r   r   r   r   <module>r      s    49fl 9r   