def METHOD_NAME(self):
    out = sh('/usr/bin/mpstat -a')
    mpstat_lcpu = int(re.search(r"lcpu=(\d+)", out).group(1))
    psutil_lcpu = psutil.cpu_count(logical=True)
    self.assertEqual(mpstat_lcpu, psutil_lcpu)