utils/bvtest/scripts/DaosServer.py
def kill_server(self, hosts):
        """
        Sometimes stop doesn't get everything.  Really whack everything
        with this.

        hosts -- list of host names where servers are running
        """
        kill_cmds = ["pkill (daos_server|daos_io_server) --signal INT",
                     "sleep 5",
                     "pkill (daos_server|daos_io_server) --signal KILL"]
        rm_cmd = "find /mnt/daos -maxdepth 1 -print0 | xargs -0r rm -rf"

        for host in hosts:
            subprocess.call("ssh {0} \"{1}\"".format(host, '; '.join(kill_cmds)), shell=True)
            subprocess.call("ssh {0} \"{1}\"".format(host, rm_cmd), shell=True)

        Sometimes stop doesn't get everything.  Really whack everything
        with this.

        hosts -- list of host names where servers are running
        
Sometimes stop doesn't get everything.  Really whack everything
with this.

- list of host names where servers are running
Sometimes stop doesn ' t get everything . Really whack everything with this . - list of host names where servers are running
def kill_server(self, hosts):
        kill_cmds = ["pkill (daos_server|daos_io_server) --signal INT",
                     "sleep 5",
                     "pkill (daos_server|daos_io_server) --signal KILL"]
        rm_cmd = "find /mnt/daos -maxdepth 1 -print0 | xargs -0r rm -rf"
        for host in hosts:
            subprocess.call("ssh {0} \"{1}\"".format(host, '; '.join(kill_cmds)), shell=True)
            subprocess.call("ssh {0} \"{1}\"".format(host, rm_cmd), shell=True)
def kill_server ( self , hosts ) : kill_cmds = [ "pkill (daos_server|daos_io_server) --signal INT" , "sleep 5" , "pkill (daos_server|daos_io_server) --signal KILL" ] rm_cmd = "find /mnt/daos -maxdepth 1 -print0 | xargs -0r rm -rf" for host in hosts : subprocess . call ( "ssh {0} \"{1}\"" . format ( host , '; ' . join ( kill_cmds ) ) , shell = True ) subprocess . call ( "ssh {0} \"{1}\"" . format ( host , rm_cmd ) , shell = True )
Sometimes stop doesn't get everything.
Sometimes stop doesn ' t get everything .
"""
        Sometimes stop doesn't get everything.  Really whack everything
        with this.

        hosts -- list of host names where servers are running
        """
self
hosts