System
ADB Debugging
Package Manager
Logcat
Wireless
File Manager
ScreenShot
Network
logcat
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
Frequently Asked Questions
This command is used to display the networking configuration. It displays network connections for the Transmission Control Protocol for both incoming and outgoing requests.
adb shell netstat command works by showing the TCP network connections for both incoming and outgoing requests.
Simply use the command adb shell netstat -r to display the Routing Table.
Simply use the command adb shell netstat -a to display all the sockets.
The command adb shell netstat -w displays the raw sockets whereas the command adb shell netstat -W displays data in a wide display.