zsh -c """ echo 'dbg_msg: initial values' date -u tail -n '+0' /sys/kernel/debug/dri/0/i915_display_info intel_reg dump for i in 0 1; do; echo 'dbg_msg: turn off display power'; date -u read -E intel_reg dump tail -n '+0' /sys/kernel/debug/dri/0/i915_display_info echo 'dbg_msg: turn on display power'; date -u read -E intel_reg dump done; """ | tee i915_live_test.txt