- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netstat help!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:09 AM
тАО05-11-2004 02:09 AM
I need to know and interpretate the output of
netstat -a
man pages are not enough!
in particular in the 4th field
"Local Address"
In which way can I know:
1.what process are they?
2.Which is the utlization?
Sometimes I find a port number:
What'is it?
(I've already checked in /etc/services but I recive only little decriptions)
Any suggestons or docs?
thanks in advance
LF
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:27 AM
тАО05-11-2004 02:27 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:34 AM
тАО05-11-2004 02:34 AM
Re: netstat help!
These are made up of ports and the services listening on them as well the protocol in use, the Recv-Q, the Send-Q, the local address, the remote address, and the state. The Recv-Q is the number of bytes not copied by the program connected to the socket and Send-Q is the number of bytes for which no acknowledgment has yet been received.
You can also tell what their current status is by looking at their state. Some of the common states are:
├В┬╖ LISTEN├в The socket is listening for incoming connections. Those sockets are only displayed if the ├в a or ├в l switch is set.
├В┬╖ ESTABLISHED├в The socket has an established connection.
├В┬╖ SYN_SENT├в The socket is actively attempting to establish a connection.
├В┬╖ SYN_RECV├в A connection request has been received from the network.
├В┬╖ TIME_WAIT├в The socket is waiting after close to handle packets still in the network.
├В┬╖ FIN_WAIT1├в The socket is closed, and the connection is shutting down.
├В┬╖ FIN_WAIT2├в The connection is closed and the socket is waiting for a shutdown from the remote end.
├В┬╖ CLOSE_WAIT├в The remote end has shut down, and it is waiting for the socket to close.
├В┬╖ CLOSED├в The socket is not being used.
This information is useful in understanding what is happening on a network connection, from seeing which ports are actively listening to viewing incoming connections to examining the exact state of a TCP session.
Port numbers:
http://www.geek-faq.com/data-networks/port-numbers.shtml
http://ww
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:41 AM
тАО05-11-2004 02:41 AM
Re: netstat help!
netstat -a :
roto Recv-Q Send-Q Local Address Foreign Address (state)
4 field?: Local adress: a connection is from this server to a remote server ( the local adress is the from part.)
The answers ( as far i i know)
1) what processes. It is not possible to see using netstat ( Only if the servers file is edited and a logical comment is provided) You can use lsof for that.
2) not to be seen. This can be monitored with a sniffer ( nmaP )
3) the portnumbers are sockets on an ipadress a deamon listens on e.g. can be found in /etc/services ( number name mapping for services ( ports))
you can check for more info:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B9106-90007/B9106-90007_top.html&con=/hpux/onlinedocs/B9106-90007/00/02/214-con.html&toc=/hpux/onlinedocs/B9106-90007/00/02/214-toc.html&searchterms=netstat&queryid=20040511-082846
Regards,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:44 AM
тАО05-11-2004 02:44 AM
Re: netstat help!
lsof (http://hpux.connect.org.uk/) [LiSt Open Files] will show you what processes are attached to what ports, this may may be of more help that a list of ports!
what do you mean by "which is the utilisation" ports do not have a utilisation. e.g. it is meaningless to say port 23 is 50% ulilised!!
Regards
Tim