User Tools

Site Tools


snippets:watchdog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
snippets:watchdog [2024/03/15 09:55] – created allspark_isesnippets:watchdog [2024/04/02 10:38] (current) allspark
Line 1: Line 1:
 +# feed watchdog
 +
 +```
 +exec 4<>/dev/watchdog && while true; do echo 'w' >&4; sleep 2; done; exec 4>&-
 +```
 +
 +deprecated:
 +
 `while true; do echo 'w' > /dev/watchdog; sleep 2; done` `while true; do echo 'w' > /dev/watchdog; sleep 2; done`
snippets/watchdog.1710492957.txt.gz · Last modified: by allspark_ise