User Tools

Site Tools


snippets:watchdog

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
snippets:watchdog [2024/03/15 09:56] allspark_isesnippets:watchdog [2024/04/02 10:38] (current) allspark
Line 1: Line 1:
 # feed watchdog # 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.1710492972.txt.gz · Last modified: by allspark_ise