def METHOD_NAME(benchmark_spec):
  """Run UnixBench on the target vm.
  Args:
    benchmark_spec: The benchmark specification. Contains all data that is
        required to run the benchmark.
  Returns:
    A list of sample.Sample objects.
  """
  vms = benchmark_spec.vms
  vm = vms[0]
  logging.info('UnixBench running on %s', vm)
  unixbench_command = 'cd {0} && UB_TMPDIR={1} ./Run'.format(
      unixbench.UNIXBENCH_DIR, vm.GetScratchDir())
  logging.info('Unixbench Results:')
  stdout, _ = vm.RemoteCommand(unixbench_command)
  return ParseResults(stdout)