peek: support linux cooked-mode capture