date: “2017-01-17”
draft: false
title: “netstat”
tag: [“cli”, “commands”]
category: “unix”
Summary - netstat
| Basics |
Command |
| Version |
netstat --version |
| Usage info |
netstat -h |
| Man |
man netstat |
Usage - netstat
Print network connections, routing tables, and more!
Examples
| netstat |
OS |
description |
netstat -antup |
Linux |
all, numerical, tcp, udp, process ID |
netstat -anP tcp |
Solaris |
all, numerical, tcp |
netstat -anP udp |
Solaris |
all, numerical, udp |
Reference Materials - netstat
See Also
- [pfiles](({{< relref “unix/commands/pfiles.md” >}}) - solaris version of lsof (can be used to lists open sockets)
- [lsof](({{< relref “unix/commands/lsof.md” >}}) - can be used to lists open sockets