NBSTATUS UTILITY
================

  NBSTATUS is a status report utility.  It is prepared to deliver
status service of NetBIOS in the user-space.  It displays status of
the NetBEUI protocol stack in the local machine or any other machine
that has a registered NetBIOS name on the network.  It displays only
information that is supported by STATUS service of PROCOM NetBEUI.
These informations are as follows: 

	* Length of status information
	* Adapter's encoded address
	* Adapter type including:
	  	- 3174 PEER
	  	- IBM FDDI
	  	- ETHERNET
	  	- PC NETWORK
	  	- TOKEN RING
	  	- UNKNOWN: in this case the adapter type is not reported.

	* Software version
	* Duration of reporting period in minutes
	* Maximum datagram packet size
	* Maximum number of pending sessions. The pending session is
	  either an NCB_CALL pending, NCB_LISTEN pending, session
	  established, session denied, NCB_HANG_UP pending, or NCP_HANG_UP
	  complete.
	* Maximum size of session data packet
	* Number of names in name table
	* Name table including following fields for each name:
		- Name number: The index of name in NetBIOS name table. 
		- Name: A 16-byte NetBIOS name.
		- Type: Type of the name that can be Unique or Group.
		- Status: Status of the name that can be in one of the
		  followings:
	          	. Trying to register
	          	. Registered
	          	. Deregistered
	          	. Detected duplicate
	          	. Detected duplicate name with deregister pending

  For more detailed and completed info about above reported fields you can 
refer to explanation of NCB.STATUS (pages 4-38 to 4-42) in [1].

  If you run this utility without argument, the usage is displayed
as follow:

   nbstatus <StatusName> [PortNumber] [RawOutputFile]

	- StatusName: is a unique name that is registered by a
	  machine on the network.

	- PortNumber: is an optional argument that is located at
	  end of NetBIOS name. For example "nbstatus SAMBA 29"
	  will find Master Browser of SAMBA work group on the
	  network and shows its information.

	- RawOutputFile: is an optional argument that specifies
	  a filename which is used for storing RAW received
	  information from the specified remote node.  If this option
	  is used, the PortNumber must exist to avoid ambiguity.
	  But, if user have not any PortNumber for a StatusName, a ' '
	  must exists instead. A '*' instead of StatusName means
	  that user needs the local node information.

[1] LAN Technical Reference, IEEE 802.2 and NetBIOS Application Program
    Interfaces, 2nd Edition 1996, IBM Corp.
