ISDNDEBUG(8) MidnightBSD System Manager’s Manual ISDNDEBUG(8)

NAME

isdndebug — display and control isdn4bsd kernel variables and statistics

SYNOPSIS

isdndebug [−c] [−e] [−g] [−l layer] [−m] [−q] [−r] [−s value] [−u unit] [−z] [−C] [−Q]

DESCRIPTION

The isdndebug utility is part of the isdn4bsd package and is used to control the level of debugging output of the isdn4bsd kernel part. Every layer of the isdn4bsd kernel uses a debugging mask which can be manipulated using this utility.

A second usage of isdndebug is to display and reset chipset specific statistics and/or error counters and to display and reset the D-channel layer 2 (Q.921 LAPD protocol) statistics and error counters.

The following options are available:

−c

Display chipset specific statistics and/or error counters.

−e

Set debugging mask for the selected layer(s) to display errors only.

−g

Get the debugging mask for the selected layer(s).

−l

Specify the layer for which a command applies. Default is all layers.

−m

Set debugging mask for the selected layer(s) to display all possible debugging messages (maximum output).

−q

Display the Q.921 (D-channel layer 2) frame receive/transmit statistics.

−r

Set debugging mask for the selected layer(s) to the compiled in default (reset).

−s

Set debugging mask for the selected layer(s) to value. Value can be specified in any number base supported by sscanf(3).

−u

Set the unit numbers for the -c, -q, -C and -Q flags.

−z

Set debugging mask for the selected layer(s) to no output at all (zero).

−H

Reset the chipset specific statistics and/or error counters to zero.

−Q

Reset the Q.921 (D-channel layer 2) frame receive/transmit statistics to zero.

FILES

/dev/i4bctl

EXAMPLES

The command:

isdndebug -g

displays the current debugging level for all ISDN layers

AUTHORS

The isdndebug utility and this manpage were written by Hellmuth Michaelis 〈hm@kts.org〉.

MidnightBSD 0.3 May 31, 2000 MidnightBSD 0.3