[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

dumping process details in linux



>>>>> "Shailendra" == shailendra baghel <sbaghel@xxxxxxxxxxx> writes:

    Shailendra> I want a source code of a utility which 1)takes a pid
    Shailendra> of a process and dumps all the relevant information
    Shailendra> about it 2)on the basis of command line switches i am
    Shailendra> able to dump specific sections only and 3)the utility
    Shailendra> can change some of the values of the process.

The files in /proc/<pid>/ have all the information available about the
process, including the command-line vector (unless the process changed 
argv/argc).

To change the process itself you'll have to hack /dev/kmem... not a
task for the faint-hearted.

Regards,

- -- Raju

    Shailendra>   If source code is not available then please give me
    Shailendra> some guidance how to solve this problem or give an
    Shailendra> algorithm which can do it.

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Please do not post HTML email to this mailing list.  HTML mails will be
thoroughly ignored and derisively sniggered at in private.

------------------------------