def METHOD_NAME(self):
    """Verify sampler config, cmd-expand only env command"""
    host = socket.gethostname()
    xprt = ldms.Xprt(self.XPRT)
    xprt.connect("localhost", "10200")
    dir_ = []
    dir_resp = xprt.dir()
    for d in dir_resp:
        dir_.append(d.name)
    self.assertEqual(dir_, [host + "/$(whoami)/meminfo"])