Adb shell netstat

This command is used to display the networking configuration

adb shell netstat -r

Displays the routing table

adb shell netstat -r

adb shell netstat -a

Displays all the sockets whether connected or not

adb shell netstat -a

adb shell netstat -l

Displays the listening server sockets

adb shell netstat -l

adb shell netstat -t

Displays all the TCP sockets

adb shell netstat -t

adb shell netstat -u

Displays all the UDP sockets

adb shell netstat -u

adb shell netstat -w

Dispalys all the Raw sockets

adb shell netstat -w

adb shell netstat -x

Displays the Unix sockets

adb shell netstat -x

adb shell netstat -e

Displays the extended info

adb shell netstat -e

adb shell netstat -n

Command to not resolve the names

adb shell netstat -n

adb shell netstat -p

Displays PID/Program Name of the sockets

adb shell netstat -p

adb shell netstat -W

Displays in wide display

adb shell netstat -W

adb shell netstat

adb shell netstat

how to image


Frequently Asked Questions


What is adb shell netstat command?

This command is used to display the networking configuration. It displays network connections for the Transmission Control Protocol for both incoming and outgoing requests.

How does adb shell netstat command work?

adb shell netstat command works by showing the TCP network connections for both incoming and outgoing requests.

How to display the data in a routing table using adb shell netstat command?

Simply use the command adb shell netstat -r to display the Routing Table.

How to display all sockets wether connected or not using adb shell netstat?

Simply use the command adb shell netstat -a to display all the sockets.

What is the difference between adb shell netstat -w and adb shell netstat -W?

The command adb shell netstat -w displays the raw sockets whereas the command adb shell netstat -W displays data in a wide display.

rating-img
Rate this tool
NaN/5   0 votes