+
    G%@i*                     B    ^ RI t ^ RIt^ RIHtHtHt  ! R R]]4      tR# )    N)PluginIndependentPlugin	PluginOptc                      a  ] tR t^t o RtRtRt]! RRRR7      ]! RRR	R7      ]! R
RRR7      ]! R^]RR7      ]! RR]RR7      .t	R t
R tRtV tR# )Processzprocess informationprocesslsofTzcollect info on all open files)defaultdesclsof-threadsFz,collect threads' open file info if supportedsmapszcollect /proc/*/smaps filessamplesz"number of iotop samples to collect)r
   val_typer   numprocsi   z*number of process to collect /proc data ofc           
        R pRpRpVR,          pV P                  . R$O4       V P                  R4       Uu. uF$  p\        P                  ! RV4      '       g   K"  VNK&  	  ppV P	                  R4      '       d   VRV P	                  R4       pV F-  pV P                  RV R	2RV R
2RV R2RV R2RV R2.4       K/  	  V P	                  R4      '       d   V P                  R4       V P                  RR. R%O^R7       V P                  RRR7       V P	                  R4      '       d   V P                  RR^^2RR7       V P	                  R4      '       d   V P                  R^^2R7       V P                  . R&ORR7       V P                  V RV 2V RV 2.4       V P	                  R4      '       d&   V P                  R V P	                  R4       2^dR!7       V P                  R"R#.4       R# u upi )'zps axoz3pid,ppid,user,group,lwp,nlwp,start_time,comm,cgroupz3flags,state,uid,pid,ppid,pgid,sid,cls,pri,psr,addr,zsz,wchan:20,lstart,tty,time,cmdz/procz[0-9]r   Nz/proc/z/statusz/cpusetz/oom_*z/stackz/limitsr   z/proc/[0-9]*/smapsz
ps auxwwwmps)root_symlinktagspriorityz
pstree -lppstree)r   r	   zlsof +M -n -l -c '')r   timeoutr   r   r   zlsof +M -n -l)r   r   T)
cmd_as_tag r   ziotop -b -o -d 0.5 -t -n )r   z#pidstat -p ALL -rudvwsRU --human -hzpidstat -tl)z/proc/sched_debugz
/proc/statz/sys/kernel/debug/sched/debugz /sys/kernel/debug/sched/featuresz/sys/kernel/sched_ext/)ps_auxps_auxww	ps_auxwww
ps_auxwwwm	ps_auxcww)z	ps alxwwwz
ps auxfwwwzps -elfL)add_copy_speclistdirrematch
get_optionadd_cmd_output)selfps_axops_group_optsps_sched_optspprocsprocs   &      </usr/lib/python3/dist-packages/sos/report/plugins/process.pysetupProcess.setup!   s5   MM:: 
 	 !LL1J1qRXXgq5I1J??:&&64??:67EDg&g&f%f%g&    ??7##34Lt"=%& 	 	(
 	Lx@??6"" 5F(*Rf   F ??>**bI 
 	 	 	 	ha'ha'
 	
 ??9%% ;#'??9#=">!@),   . 	1
 	[ Ks   G-G-c           	        V P                  R 4      ;_uu_ 4       pV P                  P                  P                  '       g   VP	                  R4        RRR4       R# V P                  R4      p/ p/ pVR,          ^ 8X  g'   VP	                  RVR,           24        RRR4       R# VR,          P                  4        F  pVP                  4       P                  4       pV^ ,          pV^,          pV P                  V4      '       g   KL  Wt9  d(   V P                  P                  P                  V4      WG&   RVRWG,          /W6&   K  	  VP	                  \        P                  ! V^R	7      4       RRR4       R#   + '       g   i     R# ; i)
zpids_to_packages.jsonz/Package manager not configured for path queriesNzps --no-headers aexstatuszUnable to get process list: outputpathpackage)indent)collection_filepolicypackage_managerquery_path_commandwriteexec_cmd
splitlinesstripsplitpath_existspkg_by_pathjsondumps)r%   pfile_pspidpkgpathsr+   pidr2   s   &       r,   collectProcess.collectb   s=   !!"9::e;;..AAAMN ;: -- 56CFEx=A%:3x=/JK ;: H002zz|))+1gAw''--$"&++"="="I"I$"OEK%tYD 3 KK

6!45) ;:::s   9E9?E9&C	E99F
	 N)system)__name__
__module____qualname____firstlineno__
short_descplugin_nameprofilesr   intoption_listr-   rG   __static_attributes____classdictcell__)__classdict__s   @r,   r   r      sz     &JKH 	&$-MN.%F	H'5/LM)R#;	=*dSC	E	K?B6 6    r   )r@   r!   sos.report.pluginsr   r   r   r   rI   rW   r,   <module>rY      s$     	 C Ch6f' h6rW   