Re: How to find the list and number of processes opened by a process?

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

 



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

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I leave quotations after my reply?

On Mon, Mar 05, 2007 at 06:20:43PM +0530, Prasad Joshi wrote:
> Ya, I know that all this information is already available in the
> /proc/<pid>/stat and fd/ files.
> I am new to the linux kernel programming and trying to write some small
> module programs and understand the working of linux kernel. Hence, was
> trying to reinvent the wheel but got confused.
> 
> Can you please provide some help....

See fs/proc/array.c and fs/proc/base.c, that should you get started.


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)

iD8DBQFF7BXX/PlVHJtIto0RAsOaAJ9oPok1IOouX/LebAVEqMEZq4dj2ACfXFhy
Dn2UEQi6eNl/B1TYMMjCsEE=
=p7vW
-----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