Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

SHOWNETSTATUS Networking
Purpose: To display network status information.
Format: SHOWNETSTATUS {<interface>} [INTERFACES] [ARP | ARPCACHE]
[ROUTES] [DNS | DOMAINNAMESERVERS] [ICMP] [IGMP] [IP]
[MB | MEMORY] [MR | MULTICASTROUTING] [RT | ROUTING]
[TCP] [UDP] [TCPSOCKETS] [UDPSOCKETS] [NAMES] [ALL]
[REPEAT]
Template: INTERFACE/M, INTERFACES/S, ARP=ARPCACHE/S, ROUTES/S,
DNS=DOMAINNAMESERVERS/S, ICMP/S, IGMP/S, IP/S,
MB=MEMORY/S, MR=MULTICASTROUTING/S, RT=ROUTING/S,
TCP/S, UDP/S, TCPSOCKETS/S, UDPSOCKETS/S, NAMES/S, ALL/S,
REPEAT/S
Path: C:SHOWNETSTATUS
SHOWNETSTATUS is used to display various, not necessarily helpful, information about the status of the network configuration. Most of the information printed is rather cryptic and not of much use to the casual user, but it can help when debugging, though.

The <interface> option, if specified, shows detailed configuration information and statistics for each interface specified.

The INTERFACES option, if specified, shows a list of all interfaces known to the TCP/IP stack.

The ARP or ARPCACHE option, shows the contents of the address resolution protocol (ARP) cache.

The ROUTES option, if specified, shows information on the routes that are configured. The default route is indicated by having a gateway address of '(Default)'.

The DNS or DOMAINNAMESERVERS option, if specified, shows a list of domain name servers known to the TCP/IP stack. Servers are either dynamically configured or statically (through the 'DEVS:Interfaces/name_resolution' file).

The ICMP option, if specified, displays the Internet Control Message Protocol (ICMP) statistics.

The IGMP option, if specified, displays the Internet Group Management Protocol (IGMP) statistics.

The IP option, if specified, displays the Internet Protocol (IP) statistics..

The MB or MEMORY option, if specified, displays the memory buffer statistics.

The MR or MULTICASTROUTING option, if specified, displays the multicast routing statistics.

The RT or ROUTING option, if specified, displays the routing statistics.

The TCP option, if specified, displays the Transmission Control Protocol (TCP) statistics.

The UDP option, if specified, displays the User Datagram Protocol (UDP) statistics.

The TCPSOCKETS option, if specified, displays information about the TCP sockets currently in use. Note that unless you use the 'ALL' option, sockets bound to local addresses will not be shown.

The UDPSOCKETS option, if specified, display information about the UDP sockets currently in use. Note that unless you use the 'ALL' option, sockets bound to local addresses will not be shown.

The NAMES option, if specified, attempts to figure out which symbolic names are associated with the IP addresses to be printed, and also attempts to associate port numbers with service names.

The ALL option, if specified, works in conjunction with the TCPSOCKETS and UDPSOCKETS parameters. It tells the respective display routines to show all currently active sockets, including those bound to local addresses.

The REPEAT option, if specified, repeats the query and display process each second; the screen will be cleared before the new information is printed. To stop printing the data, press Ctrl+C.

The following examples illustrate the output from these options, so if you are not familiar with this command reviewing the output may help you decide which option(s) you need to use.

Example 1:

3.OS4:> SHOWNETSTATUS
Network status summary
Local host address
Default gateway address
Domain name system servers
 = 192.168.0.105 (on interface 'ETH3COM')
 = 192.168.0.1
 = 192.168.1.1, 192.168.1.1

displays a network status summary.

Example 2:

3.OS4:> SHOWNETSTATUS ETH3COM
Interface "eth3com"
Device name
Device unit number
Hardware address
Maximum transmission unit
Transmission speed
Hardware type
Packets sent
Packets received
Packets dropped
Buffer overruns
Unknown packets
Address
Network mask
Number of read I/O requests
Number of write I/O requests
Number of bytes received
Number of bytes sent
Transfer statistics
Address binding
Address lease expires
Link Status
 = eth3com.device
 = 0
 = 00:09:D2:11:00:DC
 = 1500 bytes
 = 100000000 Bits/Second
 = Ethernet
 = 226
 = 423
 = 0 (in = 0, out = 0)
 = 0
 = 0
 = 192.168.0.105
 = 255.255.255.0
 = 36 (maximum of 7 used at a time, 36 ..
 = 32 (maximum of 6 used at a time, 0 ...
 = 109,348
 = 17,507
 = DMA:98/9 Byte:0/2 Word:-/0
 = Dynamic
 = 10:04
 = Up

displays a summary for named interface.

Example 3:

   3.OS4:> SHOWNETSTATUS INTERFACES
   Name                     MTU Type             Address               
   ETH3COM                 1500 Ethernet         192.168.0.105

   Received     Sent  Dropped Overruns  Unknown Status
          9        5        0        0        0 Up

displays the INTERFACES summary.

Example 4:

   3.OS4:> SHOWNETSTATUS ARPCACHE
   Host             IP address       Hardware address     Attributes
   (Unknown)        192.168.0.1      00:06:25:D8:44:BD    -

displays the ARPCACHE summary.

Example 5:

   3.OS4:> SHOWNETSTATUS ROUTES
   Destination      Gateway          Attributes
   (Default)        192.168.0.1      Up Gateway
   127.0.0.1        127.0.0.1        Up Host

displays the ROUTES summary.

Example 6:

   3.OS4:> SHOWNETSTATUS DOMAINNAMESERVERS
   Address              Type      
   192.168.1.1          Dynamic
   192.168.1.1          Static

   The default domain name is not set.

displays the DOMAINNAMESERVERS summary.

Example 7:

3.OS4:> SHOWNETSTATUS ICMP
Internet Control Message Protocol statistics
Errors generated
IP packets too short
Packets not responded
'Echo reply' packets sent
'Destination unreachable' packets sent
'Source quench' packets sent
'Redirect' packets sent
'Echo' packets sent
'Router advertizement' packets sent
'Router solicitation' packets sent
'Time exceeded' packets sent
'Bad IP header' packets sent
'Timestamp request' packets sent
'Timestamp reply' packets sent
'Information request' packets sent
'Information reply' packets sent
'Address mask request' packets sent
'Address mask reply' packets sent
Received codes out of range
Received packets too short
Received packet checksum errors
Received codes bound mismatch
Responses sent
'Echo reply' packets received
'Destination unreachable' packets received
'Source quench' packets received
'Redirect' packets received
'Echo' packets received
'Router advertizement' packets received
'Router solicitation' packets received
'Time exceeded' packets received
'Bad IP header' packets received
'Timestamp request' packets received
'Timestamp reply' packets received
'Information request' packets received
'Information reply' packets received
'Address mask request' packets received
'Address mask reply' packets received
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0

displays the ICMP summary.

Example 8:

3.OS4:> SHOWNETSTATUS IGMP
Internet Group Management Protocol statistics
Total messages received
Messages received with too few bytes
Messages received with bad checksums
Membership queries received
Messages received with invalid queries
Membership reports received
Messages received with invalid reports
Membership reports received for our group
Membership reports sent
 = 46
 = 0
 = 0
 = 46
 = 0
 = 0
 = 0
 = 0
 = 0

displays the IGMP summary.

Example 9:

3.OS4:> SHOWNETSTATUS IP
Internet Protocol statistics
Total packets received
Packets with checksum errors
Packets shorter than expected
Packets with not enough data
Packets with bad data size
Packets with bad header size
Fragments received
Fragments dropped
Fragments timed out
Packets forwarded
Packets received for unreachable destination
Packets forwarded on same network
Packets with unknown protocols
Datagrams delivered
Packets generated
Packets lost
Packets reassembled
Packets fragmented
Output fragments created
Packets that could not be fragmented
Errors in option processing
Packets discarded due to no route
Packets with IP version other than 4
Raw IP packets sent
 = 492
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 147
 = 0
 = 46
 = 299
 = 207
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0

displays the IP summary.

Example 10:

3.OS4:> SHOWNETSTATUS MEMORY
Memory buffer statistics
Buffers obtained from page pool
Clusters obtained from page pool
Free clusters
Number of times no free space was available
Number of times had to wait for free space
Number of times had to drain protocols for free space
 = 64
 = 56
 = 20
 = 0
 = 0
 = 0

displays the MEMORY summary.

Example 11:

3.OS4:> SHOWNETSTATUS MULTICASTROUTING
Multicast routing statistics
Multicast route lookups
Multicast route cache misses
Group address lookups
Group address cache misses
Packets with no routes to their origins
Packets with malformed tunnel options
Packets with no room for tunnel options
Packets arrived on the wrong interface
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0

displays the MULTICASTROUTING summary.

Example 12:

3.OS4:> SHOWNETSTATUS ROUTING
Routing statistics
Bogus redirect calls
Routes created by redirect calls
Routes modified by redirect calls
Lookups which failed
Lookups satisfied by a wildcard
 = 0
 = 0
 = 0
 = 3
 = 0

displays the ROUTING summary.

Example 13:

3.OS4:> SHOWNETSTATUS TCP
Transmission Control Protocol statistics
Connections initiated
Connections accepted
Connections established
Connections dropped
Embryonic connections dropped
Connections closed
Segments timed
Round trip times updated
Delayed acknowledgments sent
Connections dropped in timeout state
Persist timeouts
Keep-alive timeouts
Keep-alive probes sent
Connections dropped due to keep-alive timeouts
Total packets sent
Data packets sent
Data bytes sent
Data packets retransmitted
Data bytes retransmitted
Acknowledge-only packets sent
Window probes sent
Packets sent with 'urgent' attribute
Window-update-only packets sent
Packets sent with control attributes
Total packets received
Packets received in sequence
Bytes received in sequence
Packets received with checksum errors
Packets received with bad offset
Packets received that were too short
Duplicate packets received
Duplicate bytes received
Out-of-order packets received
Out-of-order bytes received
Packets received with data after window
Bytes received after window
Packets received after 'close'
Window probe packets received
Duplicate acknowledgements received
Acknowledgements received for unsent data
Acknowledgement packets received
Bytes acknowledged
Window update packets received
Segments dropped due to PAWS
Correct header predictions for acknowledgements
Correct header predictions for data packets
Timeouts in persist state= 0
Packets with bogus 'SYN' attribute received
 = 27
 = 0
 = 27
 = 0
 = 0
 = 27
 = 81
 = 81
 = 23
 = 0
 = 0
 = 0
 = 0
 = 0
 = 204
 = 27
 = 4835
 = 0
 = 0
 = 105
 = 0
 = 0
 = 18
 = 54
 = 254
 = 172
 = 73720
 = 0
 = 0
 = 0
 = 55
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 0
 = 9
 = 0
 = 54
 = 4862
 = 0
 = 0
 = 0
 = 136
 = 0
 = 0

displays the TCP summary.

Example 14:

3.OS4:> SHOWNETSTATUS UDP
User Datagram Protocol statistics
Total packets received
Packets received shorter than header
Packets received with checksum errors
Packets received larger than expected
Packets received for unbound ports
Broadcast packets received for unbound ports
Packets dropped
Total packets sent
 = 47
 = 0
 = 0
 = 0
 = 0
 = 44
 = 0
 = 3

displays the UDP summary.

Example 15:

   3.OS4:> SHOWNETSTATUS TCPSOCKETS ALL
   No TCP sockets are currently in use.
  or
    ? - (we were unable to get any display to use as an example)

displays the TCPSOCKETS summary.

Example 16:

   3.OS4:> SHOWNETSTATUS UDPSOCKETS ALL
   No UDP sockets are currently in use.
  or
    ? - (we were unable to get any display to use as an example)

displays the UDPSOCKETS summary.

Example 17:

3.OS4:> SHOWNETSTATUS NAMES
Network status summary
Local host address
Default gateway address
Domain name system servers
 = 192.168.0.105 (on interface 'ETH3COM')
 = 192.168.0.1
 = 192.168.1.1, 192.168.1.1

displays the NAMES summary.


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.