2002-11-20 23:01:59 +00:00
|
|
|
.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
|
|
|
.\" 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.
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
2003-10-12 22:04:24 +00:00
|
|
|
.\" $Id: btsockstat.1,v 1.6 2003/05/21 00:09:45 max Exp $
|
2002-11-20 23:01:59 +00:00
|
|
|
.\" $FreeBSD$
|
2003-05-20 21:01:21 +00:00
|
|
|
.\"
|
2004-05-19 09:44:31 +00:00
|
|
|
.Dd October 12, 2003
|
2002-11-20 23:01:59 +00:00
|
|
|
.Dt BTSOCKSTAT 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm btsockstat
|
|
|
|
.Nd show Bluetooth sockets information
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2003-10-12 22:04:24 +00:00
|
|
|
.Op Fl nrh
|
2002-11-20 23:01:59 +00:00
|
|
|
.Op Fl M Ar core
|
2003-05-20 21:01:21 +00:00
|
|
|
.Op Fl p Ar protocol
|
2002-11-20 23:01:59 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2003-05-20 21:01:21 +00:00
|
|
|
.Nm
|
|
|
|
utility symbolically displays the contents of various Bluetooth sockets
|
|
|
|
related data structures.
|
|
|
|
There are few output formats, depending on the
|
2002-11-20 23:01:59 +00:00
|
|
|
options for the information presented.
|
2003-05-20 21:01:21 +00:00
|
|
|
The
|
2002-11-20 23:01:59 +00:00
|
|
|
.Nm
|
2003-05-20 21:01:21 +00:00
|
|
|
utility
|
|
|
|
will print results to the standard output and error messages to the
|
2002-11-20 23:01:59 +00:00
|
|
|
standard error.
|
|
|
|
.Pp
|
|
|
|
The options are as follows:
|
|
|
|
.Bl -tag -width indent
|
2003-05-20 21:01:21 +00:00
|
|
|
.It Fl h
|
|
|
|
Display usage message and exit.
|
|
|
|
.It Fl M Ar core
|
|
|
|
Extract values associated with the name list from the specified core
|
|
|
|
instead of the default
|
|
|
|
.Pa /dev/kmem .
|
2003-10-12 22:04:24 +00:00
|
|
|
.It Fl n
|
2004-05-19 09:44:31 +00:00
|
|
|
Show Bluetooth addresses as numbers.
|
|
|
|
Normally,
|
2003-10-12 22:04:24 +00:00
|
|
|
.Nm
|
|
|
|
attempts to resolve Bluetooth addresses, and display them symbolically.
|
2002-11-20 23:01:59 +00:00
|
|
|
.It Fl p Ar protocol
|
2003-05-20 21:01:21 +00:00
|
|
|
Display a list of active sockets (protocol control blocks) for each
|
|
|
|
specified protocol.
|
|
|
|
Supported protocols are:
|
2003-05-10 21:44:42 +00:00
|
|
|
.Cm hci_raw , l2cap_raw , l2cap, rfcomm
|
2002-12-12 13:26:32 +00:00
|
|
|
and
|
2003-05-10 21:44:42 +00:00
|
|
|
.Cm rfcomm_s .
|
2002-11-20 23:01:59 +00:00
|
|
|
.It Fl r
|
|
|
|
Display a list of active routing entries (if any) for specified protocol.
|
|
|
|
.El
|
2005-01-17 07:44:44 +00:00
|
|
|
.Sh EXIT STATUS
|
2002-11-20 23:01:59 +00:00
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr ng_btsocket 4
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Maksim Yevmenkin Aq m_evmenkin@yahoo.com
|
2005-01-18 13:43:56 +00:00
|
|
|
.Sh BUGS
|
|
|
|
Most likely.
|
|
|
|
Please report if found.
|