+
    i  c                   s@    ^ RI HtHtHt ^ RIHt  ! R R]]]4      tR# )i    )PluginUbuntuPluginRedHatPlugin)is_executablec                   s@   a  ] tR t^t o RtRtRtRtR	tR t	R t
RtV tR# )
SlurmzSlurm Workload Managerslurmc                s   V P                  RR.4       \        R4      '       d   V P                  RR.4       \        R4      '       d   V P                  R.4       . ROp\        R4      '       d%   T P                  V Uu. uF  pR	V 2NK
  	  up4       R
pV P                  V4      '       g   RpRpRp \	        VRRR7      ;_uu_ 4       pVP                  4       P                  4        F  pV'       g   K  VP                  R4      pV^ ,          P                  4       R8X  d   V^,          P                  4       pV^ ,          P                  4       R8X  g   Ko  V^,          P                  4       pK  	  RRR4       T P                  R4      '       g   T P                  TT.4       R# T P                  T R2T R2.4       R# u upi   + '       g   i     L\; i  \         d"   p	T P                  RT RT	 24        Rp	?	LRp	?	ii ; i)zSlurm Workload Manager
        z/etc/slurm/*.confz/var/run/slurm/conf/*.confZsinfoz!sinfo --all --list-reasons --longzsinfo --all --longZsqueuezsqueue --all --longZscontrolzscontrol show z/etc/slurm/slurm.confz/var/run/slurm/conf/slurm.confz/var/log/slurmd.logz/var/log/slurmctld.logZrzUTF-8)ZencodingZ=ZSlurmdLogFileZSlurmctldLogFileNzCould not open conf file z: Zall_logsZ*)ZaliasesZ	assoc_mgrZbbstatZburstBufferZconfigZdaemonsZdwstatZ
federationZfrontendZjobZlicensesZnodeZ	partitionZreservationslurmdZstepZtopology)Zadd_copy_specr   Zadd_cmd_outputZpath_existsZopenZreadZ
splitlinesZsplitZstripZIOErrorZ
_log_errorZ
get_option)
selfZscontrol_cmdsZiZconfig_fileZslurmd_log_fileZslurmctld_log_fileZcfileZlineZwordsZerrors
   &         =/usr/lib/python3.14/site-packages/sos/report/plugins/slurm.pysetupZSlurm.setup%   s    	(
 	
 !!3$! 
 ""%! 
( $$/<=}!>!%}= .,,:K/5	)k399U!JJL335D  JJsOEQx~~'?:*/(..*:Qx~~'+==-21X^^-=* 6 : z**"  
 "#1%%&a(  ? > :9  	)OO7} E  %w( ) )	)sC   ?G4G 
B	GG3G G	G G H%HHc                s    R R.pRR.pRRP                  V4       R2pRpRpV F-  pV P                  V R	2W54       V P                  V R
2WE4       K/  	  R# )z
/etc/slurmz/var/run/slurm/confZAccountingStoragePassZJobCompPassz(^\s*(Z|z)\s*=\s*)(.*)z(^\s*(StoragePass)\s*=\s*)(.*)z
\1********z/slurm.confz/slurmdbd.confN)ZjoinZdo_file_sub)r   Z
conf_pathsZ
slurm_keysZslurm_keys_regexZslurmdbd_key_regexZsubZ	conf_paths   &      r   postprocZSlurm.postprocs   s    !

 $

 %SXXj%9$:-H>#I+[)  +^," $     N)Zhpc)z	slurm-wlmr   slurmdbd	slurmctldr   zslurm-slurmctldzslurm-slurmdzslurm-slurmdbd)r   r   r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z
short_descZplugin_nameZprofilesZpackagesZservicesr	   r
   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s3     )JKHHHL\ r   r   N)Zsos.report.pluginsr    r   r   Zsos.utilitiesr   r   r   r   r   <module>r      s#    B A '}FL, }r   