Oracle Consulting Oracle Training Oracle Support Development
Oracle Books
SQL Server Books
IT Books
Job Interview Books
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle


Privacy Policy


  Oracle Tips by Burleson

Using netstat for Linux

Netstat is a generic UNIX and Linux utility that displays the
contents of various network-related structures in various formats.
These formats are determined by the options passed to the netstat
Netstat is very good at telling you what is happening on the
network at the current time, but netstat does not give a good
trending capability or periodic snapshot functionality. Most network
administrators purchase a specialized third-party tool for long-term
network monitoring. Let's look at some of the network information
that netstat provides about the current state of the network.

# netstat

Proto Recv-Q Send-Q Local Address Foreign Address
tcp 0 0 donsrv1.rov:netbios-ssn ESTABLISHED
tcp 0 0
tcp 0 40 hpop3-
146.gloryroa:1096 ESTABLISHED
tcp 0 0 donsrv1.rov:netbios-ssn
tcp 0 0
tcp 0 0
tcp 0 0
tcp 0 0 exodus-rtr-
2.arsdi:2195 ESTABLISHED
tcp 0 0 donsrv1.rov:netbios-ssn
tcp 0 0 donsrv1.rov:netbios-ssn
Active LINUX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node
linux 1 [ ] STREAM CONNECTED 741
linux 1 [ ] STREAM CONNECTED 745
linux 0 [ ] STREAM CONNECTED 182
linux 1 [ ] STREAM CONNECTED 763
linux 8 [ ] DGRAM 397
linux 0 [ ] DGRAM 234471
linux 0 [ ] DGRAM 234252
linux 0 [ ] DGRAM 843
linux 1 [ ] STREAM CONNECTED 764
linux 1 [ ] STREAM CONNECTED 746
linux 1 [ ] STREAM CONNECTED 748
linux 0 [ ] DGRAM 654
linux 0 [ ] DGRAM 589
linux 0 [ ] DGRAM 560
linux 0 [ ] DGRAM 419
[oracle@donsrv1 oracle]$ netstat -sp tcp
15753092 total packets received
1 with invalid headers
0 forwarded
0 incoming packets discarded
99397 incoming packets delivered
20325485 requests sent out
1041 ICMP messages received
37 input ICMP message failed.
ICMP input histogram:
destination unreachable: 972
timeout in transit: 31
echo requests: 27
echo replies: 11
490 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 463
echo replies: 27
131 active connections openings
0 passive connection openings
14 failed connection attempts
0 connection resets received
6 connections established
15652680 segments received
20276668 segments send out
6933 segments retransmited
2 bad segments received.
25 resets sent
97289 packets received
11 packets to unknown port received.
3 packet receive errors
48279 packets sent
9 packets pruned from receive queue because of socket
buffer overrun
linux 0 [ ] DGRAM

Hopefully, this brief description of the netstat utility will give
you an appreciation for the scope and complexity of network tuning.
In practice, an experienced Linux network administrator will have
specialized utilities such as Linux sniffers, that will monitor and tune
network traffic.

The above book excerpt is from:

Easy Linux Commands
Working Examples of Linux Command Syntax

ISBN: 0-9759135-0-6   

Terry Clark 

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster

Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   



 Copyright © 1996 -2017 by Burleson. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks

Hit Counter