freebsd-dev/usr.sbin/i4b/isdnmonitor/isdnmonitor.8

175 lines
4.8 KiB
Groff
Raw Normal View History

1999-12-14 21:14:28 +00:00
.\"
.\" Copyright (c) 1999 Hellmuth Michaelis. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
1999-12-14 21:14:28 +00:00
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
1999-12-14 21:14:28 +00:00
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
1999-12-14 21:14:28 +00:00
.\" $Id: isdnmonitor.8,v 1.8 1999/12/13 22:11:55 hm Exp $
.\"
1999-12-14 21:14:28 +00:00
.\" $FreeBSD$
.\"
1999-12-14 21:14:28 +00:00
.\" last edit-date: [Mon Dec 13 23:04:25 1999]
.\"
1999-12-14 21:14:28 +00:00
.Dd September 25, 1999
.Dt ISDNMONITOR 8
.Os
.Sh NAME
.Nm isdnmonitor
1999-12-14 21:14:28 +00:00
.Nd isdn4bsd / isdnd remote monitoring tool
.Sh SYNOPSIS
.Nm
1999-12-14 21:14:28 +00:00
.Op Fl c
.Op Fl d Ar debuglevel
.Op Fl f Ar filename
.Op Fl h Ar hostspec
.Op Fl l Ar pathname
.Op Fl p Ar portspec
.Sh DESCRIPTION
2002-07-14 14:47:15 +00:00
The
.Nm
utility is used to remotely monitor the operation of the isdn daemon,
1999-12-14 21:14:28 +00:00
.Xr isdnd 8 ,
which manages all ISDN related connection and disconnection of ISDN
devices supported by the isdn4bsd package.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl c
2000-10-09 14:22:51 +00:00
Switch to (curses-) fullscreen mode of operation. In this mode,
1999-12-14 21:14:28 +00:00
.Nm
behaves nearly exactly as
.Xr isdnd 8
2000-10-09 14:22:51 +00:00
in fullscreen mode. In fullscreen mode, entering the control character
1999-12-14 21:14:28 +00:00
.Em Control-L
causes the display to be refreshed and entering
.Em Carriage-Return
or
.Em Enter
2000-10-09 14:22:51 +00:00
will pop-up a command window. Because
1999-12-14 21:14:28 +00:00
.Nm
will not listen to messages while the command window is active,
this command window will disappear automatically after 5 seconds without
any command key press.
.Pp
While the command window is active,
.Em Tab
or
.Em Space
2000-10-09 14:22:51 +00:00
advances to the next menu item. To execute a command, press
1999-12-14 21:14:28 +00:00
.Em Return
or
.Em Enter
for the highlighted menu item, or enter the number corresponding to the
item to be executed or enter the capitalized character in the menu item
description.
.It Fl d
If debugging support is compiled into
.Nm
1999-12-14 21:14:28 +00:00
this option is used to specify the debugging level.
.\" The debugging level is the sum of the
.\" following values:
.\" .Pp
.\" .Bl -tag -width Ds -compact -offset indent
.\" .It Ar 0x001
.\" general debugging.
.\" .It Ar 0x002
.\" rates calculation.
.\" .It Ar 0x004
.\" timing calculations.
.\" .It Ar 0x008
.\" state transitions.
.\" .It Ar 0x010
.\" retry handling.
.\" .It Ar 0x020
.\" dialing.
.\" .It Ar 0x040
.\" process handling.
.\" .It Ar 0x080
.\" isdn4bsd kernel i/o calls.
.\" .It Ar 0x100
.\" controller and channel busy/free messages.
.\" .It Ar 0x200
.\" isdnmonitor.rc configuration file processing.
.\" .El
.\" .Pp
.\" The value can be specified in any number base supported by the
.\" .Xr sscanf 3
.\" library routine.
.Pp
In addition, this option accepts also the character 'n' as an argument to
disable displaying debug messages on the full-screen display.
.Pp
.It Fl f
Specifying this option causes
.Nm
1999-12-14 21:14:28 +00:00
to write its normal output and - if enabled - debugging output to a file
which name is specified as the argument.
.It Fl l
is used to specify a Unix local domain socket name to be used for communication
between
.Xr isdnd 8
and
.Nm .
1999-12-14 21:14:28 +00:00
.It Fl h
is used to specify a hostname or a dotted-quad IP address of a machine
2001-07-15 08:06:20 +00:00
where an
1999-12-14 21:14:28 +00:00
.Xr isdnd 8
is running which should be monitored.
.It Fl p
This option may be used to specify a remote port number in conjunction
with the
.Fl h
option.
.El
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
1999-12-14 21:14:28 +00:00
.Bl -tag -width Ds
.It Ev TERM
The terminal type when running in full-screen display mode.
See
.Xr environ 7
for more information.
.El
.Sh EXAMPLES
For a first try, the following command should be used to start
.Nm
to monitor a locally running isdnd:
.Bd -literal -offset indent
isdnmonitor -h localhost
.Ed
.Sh DIAGNOSTICS
Exit status is 0 on success, 1 on error.
.Sh SEE ALSO
.Xr isdnd 8
.Sh BUGS
Still one (or) more left.
.Sh AUTHORS
.An -nosplit
The
.Nm
2001-07-15 08:06:20 +00:00
utility was written by
1999-12-14 21:14:28 +00:00
.An Martin Husemann
2001-07-15 08:06:20 +00:00
and
1999-12-14 21:14:28 +00:00
.An Hellmuth Michaelis Aq hm@kts.org .
2001-07-15 08:06:20 +00:00
This manual page was written by
.An Hellmuth Michaelis .