make linux monitor work, close #9