watchdogd.8 (990ca63847d880f20e182f11797548958b1a63f8) | watchdogd.8 (9cdb6ee1641e84242a1640055e0072ad693e1a7d) |
---|---|
1.\" Copyright (c) 2004 Poul-Henning Kamp <phk@FreeBSD.org> 2.\" Copyright (c) 2003 Sean M. Kelly <smkelly@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25.\" 26.\" $FreeBSD$ 27.\" 28.Dd June 25, 2003 29.Dt WATCHDOGD 8 30.Os 31.Sh NAME 32.Nm watchdogd | 1.\" Copyright (c) 2004 Poul-Henning Kamp <phk@FreeBSD.org> 2.\" Copyright (c) 2003 Sean M. Kelly <smkelly@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25.\" 26.\" $FreeBSD$ 27.\" 28.Dd June 25, 2003 29.Dt WATCHDOGD 8 30.Os 31.Sh NAME 32.Nm watchdogd |
33.Nd Watchdog daemon | 33.Nd watchdog daemon |
34.Sh SYNOPSIS 35.Nm 36.Op Fl d 37.Op Fl e Ar cmd 38.Op Fl I Ar file 39.Op Fl s Ar sleep 40.Op Fl t Ar timeout 41.Sh DESCRIPTION --- 6 unchanged lines hidden (view full) --- 48is unable to interface with the kernel over a specific timeout, 49the kernel will take actions to assist in debugging or restarting the computer. 50.Pp 51If 52.Fl e Ar cmd 53is specified, 54.Nm 55will attempt to execute this command with | 34.Sh SYNOPSIS 35.Nm 36.Op Fl d 37.Op Fl e Ar cmd 38.Op Fl I Ar file 39.Op Fl s Ar sleep 40.Op Fl t Ar timeout 41.Sh DESCRIPTION --- 6 unchanged lines hidden (view full) --- 48is unable to interface with the kernel over a specific timeout, 49the kernel will take actions to assist in debugging or restarting the computer. 50.Pp 51If 52.Fl e Ar cmd 53is specified, 54.Nm 55will attempt to execute this command with |
56.Xr system 3 | 56.Xr system 3 , |
57and only if the command returns with a zero exit code will the 58watchdog be reset. 59If 60.Fl e Ar cmd | 57and only if the command returns with a zero exit code will the 58watchdog be reset. 59If 60.Fl e Ar cmd |
61is not specified the daemon will perform a trivial file system | 61is not specified, the daemon will perform a trivial file system |
62check instead. 63.Pp 64The 65.Fl s Ar sleep 66argument can be used to control the sleep period between each execution 67of the check and defaults to one second. 68.Pp 69The --- 16 unchanged lines hidden (view full) --- 86will first instruct the kernel to no longer perform watchdog checks and then 87will terminate. 88.Pp 89The 90.Nm 91utility recognizes the following runtime options: 92.Bl -tag -width ".Fl I Ar file" 93.It Fl I Ar file | 62check instead. 63.Pp 64The 65.Fl s Ar sleep 66argument can be used to control the sleep period between each execution 67of the check and defaults to one second. 68.Pp 69The --- 16 unchanged lines hidden (view full) --- 86will first instruct the kernel to no longer perform watchdog checks and then 87will terminate. 88.Pp 89The 90.Nm 91utility recognizes the following runtime options: 92.Bl -tag -width ".Fl I Ar file" 93.It Fl I Ar file |
94Write the process id of the | 94Write the process ID of the |
95.Nm 96utility in the specified file. 97.It Fl d 98Do not fork. 99When this option is specified, 100.Nm 101will not fork into the background at startup. 102.El --- 24 unchanged lines hidden --- | 95.Nm 96utility in the specified file. 97.It Fl d 98Do not fork. 99When this option is specified, 100.Nm 101will not fork into the background at startup. 102.El --- 24 unchanged lines hidden --- |