RE: list of open sockets in kernel

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

 



Have you tried "man netstat" and "man lsof" ?

> -----Original Message-----
> From: Sergey V. Burchu [mailto:sayd@joker.botik.ru] 
> Sent: Friday, August 01, 2003 7:48 AM
> To: linux-net@vger.kernel.org
> Subject: list of open sockets in kernel
> 
> 
> Hello!
> 
> I'm looking for the way to look through the list of all active sockets
> inside the kernel (2.4.21). 
> 
> I have only one idea: to go through the list of all open 
> files( or filedescriptors)
> and somehow to distinguish sockets from files. 
> 
> Where can I read something of how to do it? 
> 
> Thanks :)
> -- 
> 	Burchu Sergey
> -
> : send the line "unsubscribe 
> linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux