Gets status of service and provides list of exited and running member processes.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
crit_proc_stat = duthost.critical_process_status("swss")
service
- name of service status is desired for- Required:
True
- Type:
String
- Required:
Dictionary with info on status of service:
status
-True
if service, service group and member processes for service are running,False
otherwiseexited_critical_processes
- List containing names of exited member processes for specifiedservice
running_critical_processes
- List containing names of running member processes for specifiedservice