def StopBackgroundWorkload(self):
    if self.background_cpu_threads:
      self.RemoteCommand('pkill -9 sysbench')
    if self.background_network_mbits_per_sec:
      self.RemoteCommand('kill -9 ' + self.client_pid)
      self.RemoteCommand('kill -9 ' + self.server_pid)
Stops the background workload.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_virtual_machine.py/BaseLinuxMixin.StopBackgroundWorkload