netstat -p On Fri, 1 Aug 2003, Eble, Dan wrote: > 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 > - : 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