EasyManuals Logo

Sun Microsystems Netra T2000 User Manual

Sun Microsystems Netra T2000
122 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #106 background imageLoading...
Page #106 background image
90 Netra T2000 Server Administration Guide September 2006
Rearming the Watchdog
The LOMIOCDOGPAT IOCTL rearms, or pats, the watchdog so that the watchdog
starts ticking from the beginning; that is, to the value specified by LOMIOCDOGTIME.
This IOCTL requires no arguments. If the watchdog is enabled, this IOCTL must be
used at regular intervals that are less than the watchdog timeout, or the watchdog
expires.
Getting the State of the Watchdog Timer
The LOMIOCDOGSTATE IOCTL gets the state of the watchdog and reset functions,
and retrieves the current time-out period for the watchdog. If LOMIOCDOGSTATE was
never issued to set up the timeout period prior to this IOCTL, the watchdog is not
enabled in the hardware.
The argument is a pointer to the lom_dogstate_t structure, which is described in
greater detail in “Finding and Defining Data Structures” on page 90. The structure
members are used to hold the current states of the watchdog reset circuitry and
current watchdog timeout period. This timeout period is not the time remaining
before the watchdog is triggered.
The LOMIOCDOGSTATE IOCTL requires only that open() be successfully called. This
IOCTL can be run any number of times after open() is called, and it does not
require any other DOG IOCTLs to have been executed.
Finding and Defining Data Structures
All data structures and IOCTLs are defined in lom_io.h, which is available in the
SUNWlomh package.
The data structures for the watchdog timer are shown here:
The watchdog and reset state data structure is as follows:
The watchdog and reset control data structure is as follows:
CODE EXAMPLE A-1 Watchdog and Reset State Data Structure
typedef struct {
int reset_enable; /* reset enabled if non-zero */
int dog_enable; /* watchdog enabled if non-zero */
uint_t dog_timeout; /* Current watchdog timeout */
} lom_dogstate_t;

Table of Contents

Other manuals for Sun Microsystems Netra T2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sun Microsystems Netra T2000 and is the answer not in the manual?

Sun Microsystems Netra T2000 Specifications

General IconGeneral
BrandSun Microsystems
ModelNetra T2000
CategoryServer
LanguageEnglish

Related product manuals