[TriLUG] Learning Linux -- and Netstat

Bill Farrow bill at arrowsreach.com
Wed Sep 11 15:57:17 EDT 2013


On Wed, Sep 11, 2013 at 3:44 PM, James Jones <jc.jones at tuftux.com> wrote:
> From a very low to a extreme high??

My work desktop has a few more open :-)

  bill at work:~$ netstat -n | grep unix | wc -l
  691

> Is there a way to determine if some are just dead entries and if so,
> high to make them disappear?

Another tool to explore is lsof. To list unix sockets use:
lsof -U

COMMAND     PID            USER   FD   TYPE     DEVICE SIZE/OFF     NODE NAME
init          1            root    7u  unix 0xf6854480      0t0
7889 @/com/ubuntu/upstart
init          1            root    8u  unix 0xf6857840      0t0     9061 socket


Bill


More information about the TriLUG mailing list