VxWorks Reference Manual : Libraries

wdShow

NAME

wdShow - watchdog show routines

ROUTINES

wdShowInit( ) - initialize the watchdog show facility
wdShow( ) - show information about a watchdog

DESCRIPTION

This library provides routines to show watchdog statistics, such as watchdog activity, a watchdog routine, etc.

The routine wdShowInit( ) links the watchdog show facility into the VxWorks system. It is called automatically when this show facility is configured into VxWorks using either of the following methods:

INCLUDE FILES

 wdLib.h

SEE ALSO

wdShow, wdLib, VxWorks Programmer's Guide: Basic OS, Target Shell, windsh, Tornado User's Guide: Shell


Libraries : Routines

wdShowInit( )

NAME

wdShowInit( ) - initialize the watchdog show facility

SYNOPSIS

void wdShowInit (void)

DESCRIPTION

This routine links the watchdog show facility into the VxWorks system. It is called automatically when the watchdog show facility is configured into VxWorks using either of the following methods:

RETURNS

 N/A

SEE ALSO

wdShow


Libraries : Routines

wdShow( )

NAME

wdShow( ) - show information about a watchdog

SYNOPSIS

STATUS wdShow
    (
    WDOG_ID wdId /* watchdog to display */
    )

DESCRIPTION

This routine displays the state of a watchdog.

EXAMPLE

A summary of the state of a watchdog is displayed as follows:

    -> wdShow myWdId
    Watchdog Id         : 0x3dd46c
    State               : OUT_OF_Q
    Ticks Remaining     : 0
    Routine             : 0
    Parameter           : 0

RETURNS

OK or ERROR.

SEE ALSO

wdShow, VxWorks Programmer's Guide: Target Shell, windsh, Tornado User's Guide: Shell