# Using netstat command

**URL:** <https://linux-tips.com/t/using-netstat-command/217>\
**Category:** Network\
**Created:** [November 30, 2008, 8:32am UTC](https://linux-tips.com/t/using-netstat-command/217 "2008-11-30T08:32:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://linux-tips.com/user_avatar/linux-tips.com/mike/32/148_2.png) [@mike](https://linux-tips.com/u/mike)\
**Post date:** [November 30, 2008, 8:32am UTC](https://linux-tips.com/t/using-netstat-command/217/1 "2008-11-30T08:32:17Z")

</div>

Netstat is a simple and great network utility.

Here are a few useful usage examples:

What Network Services are Running?

```
netstat -atup

```

or

```
netstat -ap | grep LISTEN | less

```

This can be helpful to determine the services running.

Need stats on dropped UDP packets?

```
netstat -s -u

```

or TCP

```
netstat -s -t

```

or summary of everything

```
netstat -s

```

or looking for error rates on the interface?

```
netstat -i

```

Listening interfaces?

```
netstat -l
```
