Viewing NetBIOS status
command provides NetBIOS status. For example, it can report the
status from a remote client or server.
NetBIOS must have been started before its status can be obtained.
An example of the output from nbtstat is shown below.
UNIT ID = 01 00 7E 69 71 20
Local name table (13 names):
The information in the first part of the display shows the
unit ID and the number of names in the ``Local name table''.
Name Soc Num Status
^^^^^^^^^^^^^~^ x02 1 Unique Registered
TYPHOON x20 2 Unique Registered
*SMBSERVER x20 3 Group Registered
TYPHOON x00 4 Unique Registered
TREEDOM x00 5 Group Registered
TREEDOM x1c 6 Group Registered
TYPHOON~X x00 7 Unique Registered
TREEDOM x1e 8 Group Registered
TYPHOON#00515 x00 9 Unique Registered
TYPHOON#00523 x00 10 Unique Registered
TREEDOM x1d 11 Unique Registered
^^__MSBROWSE__^ x01 12 Group Registered
TREEDOM x1b 13 Unique Registered
name num 65535, # sessions 1, rcv dg=0, rcv any=0
LSN State Local Name Soc Remote Name Soc rcvs sends
126 ESTAB TYPHOON x20 ARNIE x00 0 0
The next item, the local name table, shows the names that have
been added to NetBIOS. The fields are as follows:
The last item in the nbtstat output is the session status
table. The header of this section shows the number of session table
entries used, including NetBIOS LISTENs, and the number of
RECEIVE DATAGRAMS and RECEIVE ANY NCBs that
are posted to the NetBIOS. The session status table shows the
Name in use.
Numeric value of the 16th character of the name.
uppercase names are used in the SMB file sharing protocol,
and lowercase names are used by other utilities.
The significance of the ``Soc'' field is defined by the NetBIOS application.
The SMB protocol uses this field to indicate a particular
service or function.
For example, a client might use the machine name in
uppercase with a ``Soc'' value of 0x00 (ASCII code for the null
character) to connect to a remote file-sharing server.
Number assigned to the name by NetBIOS when
the name was added to the table.
Status of an unique name or a group name that NetBIOS has added
or is adding to the name table.
The following status values are possible:
NetBIOS is trying to register a name in the local name table.
NetBIOS has successfully registered this name in the local name table.
NetBIOS has de-registered this name from the local name table.
NetBIOS has detected a duplicate name in the local name table.
NetBIOS has detected a duplicate name with de-register pending.
For more information on viewing NetBIOS status, see
NetBIOS local session number (LSN) for the session
The state of the session.
Possible states are:
waiting for connection
attempting to connect
connection is in process of closing
connection is closed
connection has been aborted
local name associated with the session
numeric value of the 16th character of the local name
server name associated with the session
numeric value of the 16th character of the server name
number of RECEIVE NCBs outstanding on the session
number of SEND NCBs outstanding on the session
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004