add state check.  add logic for logs and cache lines in zpool output