![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| netstat -an -- meaning of the output | thepurple | SUN Solaris | 3 | 01-12-2009 06:19 AM |
| filtering a range of ports out of a netstat output | marcpascual | Shell Programming and Scripting | 1 | 09-30-2008 09:36 PM |
| output difference in two files | ayhanne | UNIX for Dummies Questions & Answers | 4 | 07-16-2008 05:40 PM |
| How to output the difference of two files? | yxiao | UNIX for Dummies Questions & Answers | 4 | 01-26-2004 01:55 PM |
| output of NETSTAT | samprax | UNIX for Dummies Questions & Answers | 1 | 08-02-2002 02:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Difference in netstat -a and -an output.
Hi,
Does anyone know why I get a different output when using "netstat -a" or "netstat -an" ?? Code:
# netstat -a | grep ts15r135 tcp 0 0 nbsol152.62736 ts15r135.23211 ESTABLISHED # netstat -an | grep 172.23.160.78 tcp 0 0 135.246.39.152.51954 172.23.160.78.23212 ESTABLISHED tcp 0 0 135.246.39.152.51952 172.23.160.78.58112 ESTABLISHED tcp 0 0 135.246.39.152.51955 172.23.160.78.23211 ESTABLISHED Code:
# uname -a HP-UX nbsol151 B.11.11 U 9000/800 1020412055 unlimited-user license E.J. |
|
||||
|
Thanks for the fast reply.
But that can't be it. It is always like this and for more similar connections. And the connection is stable. Here the output with less than 1 second difference: Code:
# date; netstat -a | grep ts15r135; date; netstat -an | grep 172.23.160.78 < Wed Aug 5 10:02:07 GMT 2009 tcp 0 0 nbsol152.62736 ts15r135.23211 ESTABLISHED Wed Aug 5 10:02:08 GMT 2009 tcp 0 0 135.246.39.152.51954 172.23.160.78.23212 ESTABLISHED tcp 0 0 135.246.39.152.51952 172.23.160.78.58112 ESTABLISHED tcp 0 0 135.246.39.152.51955 172.23.160.78.23211 ESTABLISHED |
|
||||
|
No:
Code:
# nslookup ts15r135 Using /etc/hosts on: nbsol152 looking up FILES Name: ts15r135 Address: 172.23.160.87 And 87 iso 78 for the other system ! Code:
# netstat -a | grep ts15r135 tcp 0 0 nbsol152.60377 ts15r135.23211 ESTABLISHED # netstat -an | grep 172.23.160.87 tcp 0 0 135.246.39.152.60377 172.23.160.87.23211 ESTABLISHED |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|