Questions tagged [netstat]

netstat is a tool for viewing active network connections, listeners and sockets.

netstat is a tool for viewing active network connections, listeners and sockets.

326 questions
12
votes
3 answers

In the output for netstat what does the [::] mean?

In the results for netstat what does the [::] mean? example [::]:ssh [::]:* LISTEN
Ric
  • 171
4
votes
2 answers

How to know which process was using a port after it enters TIME_WAIT state?

On Linux, is there a way to figure out what process was using a port, before it went into TIME_WAIT state. When I use netstat -tnp I just see two end points, but no process information. Proto Recv-Q Send-Q Local Address Foreign Address …
user41183
  • 143
  • 1
  • 7
3
votes
0 answers

Why netstat -p doesn't show PID of established connections?

I have some REST service which is listening on tcp/8051 I'm querying this service with curl in infinite loop from the same host: while true; do curl --header "Authorization: Bearer NDkwMjM3NzEtN2U2NS00ZDVkLThhYzItOThmZTliODljNWJj" -k…
user1700494
  • 1,662
3
votes
2 answers

Is it normal to have many connections from my own server ip when I ran netstat command?

I would like to know if is it normal to have many connections from my own server ip when I ran: netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head The command explanation can be found here:…
3
votes
1 answer

What exactly does tcpOutAckDelayed mean, and is it a problem if it's counting up?

What does tcpOutAckDelayed mean, and what causes it to count up? is it an indication of problems or not? The sun doco isnt clear! Thanks, Dan
Codek
  • 203
3
votes
2 answers

What does each field of netstat -ano mean?

tcp 0 0 219.155.32.195:8888 221.137.227.51:5943 TIME_WAIT timewait (58.45/0/0) tcp 0 0 219.155.32.195:8888 221.137.227.51:5936 TIME_WAIT timewait (59.36/0/0) tcp 0 2944 219.155.32.195:8888 …
kernel
  • 8,671
2
votes
0 answers

How to aggregate reports given by nestat?

In this question OP gives some reports that has been generated with netstat. However, the more I look at the switches of netstat, the less I can find how to generate that report. The sample report is: Process Id = 0, State = TIME_WAIT have 130,053…
2
votes
2 answers

What does `SYNs to LISTEN sockets dropped` from `netstat -s` mean

I could found 437 SYNs to LISTEN sockets dropped from netstat -s from the server on my server which runs nginx. I found this explanation from the man page: --statistics, -s, Display summary statistics for each protocol. Then what does this count 437…
larryzhao
  • 205
2
votes
1 answer

How to reset netstat -e counters

I would like to reset netstat -e counters. How can I do it? Renewing the network interface may reset these counters, but it is NOT an option - the networking must not be interrupted. My OS is Windows XP
Alex83
  • 21
1
vote
1 answer

Unknown connections to foreign hosts

When I run netstat -a, a lot of connections to foreign hosts show up. It's connected to a whole subnet, ie 123.123.123.x to the port 80. How can I see what is actually going on? My server doesn't look compromised. It's running ArchLinux.
0
votes
0 answers

Difference Send-Q between netstat and ss

The ss send-Q column shows non-zero value constantly, while netstat shows Send-Q as zero for same port and same process. Can you please let me know why like this and what does mean by non-zero value. root@prd-140:~# ss -lntp6 sport = :16514 State …
Rama
  • 57
0
votes
1 answer

What does `netstat -y` on Windows do?

From the help page of Windows netstat, I got this: -y Displays the TCP connection template for all connections. Cannot be combined with the other options. Google results are all same sentence from the help page. Does anyone know what is…
0
votes
0 answers

how to continues netstat a port and save it to text file with time stamp for each netstat

I am using a system which is integrated to other system using a specific port and recently I am facing multiple interruption in the integration, and I need to monitor the port "48823" for a complete day and save it to a text file with time stamp for…
0
votes
1 answer

New netstat Ubuntu 20.10

I have been using netstat 1.42 without any problem but yesterday I installed a fresh VPS and when I try to set commands netstat does not show anything. I use this command to see all active TCP connections: netstat -tn 2>/dev/null | grep :80| awk…