[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lsof -i broken



On Sun, Feb 25, 2001 at 08:58:49PM -0600, Jordan Bettis wrote:
> On Sun, Feb 25, 2001 at 06:02:58PM -0600, charles@lunarmedia.net wrote:
> > i just recently noticed that running 'lsof -i' returns nothing. i am used
> > to seeing return of known ipv4 ports and their associated applications.
> 
> Do you mean which connections are currently open? Running netstat -p shows
> all currently open connections. If you wish to just see INET4 connections, 
> you could do: 
> 
> netstat -p | grep -e ^tcp

netstat -p -t will also do that without launching 2 processes and a pipe... :)

--Danny
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.