04-18-2011
Perhaps someone can help mr to under this lsof output
When the maximum connection 10 error occur I tried
$ lsof -i | grep 2773156
AppServ 2773156 apuser 263u IPv6 0xf100060005936398 0t0 TCP *:7780 (LISTEN)
:
AppServ 2773156 apuser 283u IPv6 0xf100060004feca90 0t0 TCP dev1.cs.ata:*->10.126.73.4:45366
AppServ 2773156 apuser 288u IPv6 0xf10006000287d290 0t0 TCP dev1.cs.ata:*->10.126.73.4:45936
:
AppServ 2773156 apuser 323u IPv4 0xf100060005563b98 0t0 TCP dev1.cs.ata:53553->dev2.cs.ctc:25550 (ESTABLISHED)
Where 2773156 is the application process and it is listening on 7780
I saw the 7780 listener and 9 of
AppServ 2773156 apuser 283u IPv6 0xf100060004feca90 0t0 TCP dev1.cs.ata:*->10.126.73.4:45366
I think this represents 9 connections. But it does not say what port. Instead it has :*.
What does :* means ? If this are connections, why there is no status (such as ESTABLISHED) like the one coming from dev2.cs.ctc:25550 ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
net1 1500 192.168 192.168.0.11 24508 0 12212 112931 2795
lo0 8232 127 127.0.0.1 42 0 42 0 0
atl0* 8232 none none No Statistics... (1 Reply)
Discussion started by: samprax
1 Replies
2. Shell Programming and Scripting
i'd like to grep a range of ports on a netstat -nt output, localaddress, say :1 to :1023. how do i do it via sed/awk/grep?
Thanks,
Marc (1 Reply)
Discussion started by: marcpascual
1 Replies
3. Solaris
Dear Experts,
I put below command-
could you please describe the outputs column-
let me describe some them-
col_1: (10.131.60.48.55880) The IP address of the local computer and the port number being used for this particular connection appear in the Local Address column.
col_2:... (3 Replies)
Discussion started by: thepurple
3 Replies
4. HP-UX
Hi,
Does anyone know why I get a different output when using "netstat -a" or "netstat -an" ??
# 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 ... (4 Replies)
Discussion started by: ejdv
4 Replies
5. UNIX for Dummies Questions & Answers
hi all,
when I run-
wcars1j5#netstat -an | grep 8090
127.0.0.1.8090 *.* 0 0 49152 0 LISTEN
wcars1j5#
1. does this mean that no one is connected to this port?
Regards,
akash (1 Reply)
Discussion started by: akash_mahakode
1 Replies
6. IP Networking
I can't tell what the output of the netstat command means. Is there anywhere that has this information? I tried the man pages, but they weren't helpful. (3 Replies)
Discussion started by: Ultrix
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have old SCO O/S. System keeps crashing. I made lot of changes to kernel but so for nothing helped. I wrote a script which takes netstat -an output every one minute. I saw some thing right before the system crashed. Not sure if this means anything..
uname -a
SCO_SV djx2 3.2... (2 Replies)
Discussion started by: samnyc
2 Replies
8. IP Networking
Hello
netstat -p give below 6634176 connections as closed.How do we trace that which all connections are being closed on the server?
1366888371 data packet headers correctly predicted
1195906 connection requests
5227320 connection accepts
5992919... (6 Replies)
Discussion started by: Vishal_dba
6 Replies
9. Shell Programming and Scripting
Hi Team,
Below is the output of netstat -an | grep 1533
tcp 0 0 17.18.18.12:583 10.3.2.0:1533 ESTABLISHED
tcp 0 0 17.18.18.12:370 10.3.2.0:1533 ESTABLISHED
Below is the o/p of netstat -a | grep server_name
tcp 0 ... (4 Replies)
Discussion started by: Girish19
4 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I am trying to collect the listen ports info from netstat command in centos 7
From that info i am trying to collect all the foreign address IP for those ports.
I am using below script to do the same.
netstat -an |grep -w "LISTEN" |grep -v "127.0.0.1" |awk '{print $4}' >... (3 Replies)
Discussion started by: sravani25
3 Replies
LEARN ABOUT HPUX
tcphashsz
tcphashsz(5) File Formats Manual tcphashsz(5)
NAME
tcphashsz - determines the size of the networking hash tables
VALUES
Failsafe
Default
Allowed values
Recommended values
A value of 0 (default) will adjust the in proportion to the number of cores in the system. If is set to a non zero value, it should be
specified as a power of two. Otherwise, it will be rounded down to the nearest power of two.
DESCRIPTION
This variable is used to set the size of the networking hash tables. HP recommends that the value of be set to 0 so that the system can
choose an optimal value. A system that is going to have a large number of connections on it all of the time may see some benefit of
increasing this value, beyond the number determined by the system.
If this tunable is not set to zero, then it needs to be a power of two. If it is not specified as a power of two, then it is rounded down
to the nearest power of two. If this tunable is set in the range of 1 to 255, then it will be increased to 256.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
This value may be raised in the case of a machine with a large number of connections that last for an extended period of time.
What Are the Side Effects of Raising the Value?
More memory is used when this value is raised.
When Should the Value of This Tunable Be Lowered?
If a system is tight on memory and it has just a few connections on it, then lowering the value may reclaim some memory.
What Are the Side Effects of Lowering the Value?
If is set too low, the system will have long hash chains which will slow it down.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters tcphashsz(5)