Re: processes / net connections - an API

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, May 11, 2007 at 02:19:45PM +0200, stf wrote:
> 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?

No, that's what proc is for: show information about processes (yeah, it
got overloaded with other crap, but the primary goal is about
processes).


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGRX2N/PlVHJtIto0RAvfHAJ9+zQFWmZ11fSAPmlMXbnfIlJgeVgCdES11
WB5fUth++Iv3XNCvVxfZg2Y=
=ujNr
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux