lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 11 May 2007 08:47:49 -0400
From:	jamal <hadi@...erus.ca>
To:	stf <stf_polska@...pl>
Cc:	netdev@...r.kernel.org
Subject: Re: processes / net connections - an API

On Fri, 2007-11-05 at 14:41 +0200, stf wrote:
> Hi!
> 
> I want to write a library or application showing processes and net 
> connections. I was looking on ps and netstat to see how those programs 
> are retrieving the information. It seems that they are parsing /proc 
> entries.
> 
> Is there any other kernel API to get information about processes or net 
> connections?
> 

For processes, take a look at kernel-sources/accounting/*
For networking, your question is hard to answer because netstat really
wont tell you much about flows; in any case, but take a look at
iproute2-sources/iproute2/misc/*

cheers,
jamal


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ