Find the answer to your Linux question:
Results 1 to 2 of 2
How to create a Linux kernel module that implements a file in /proc which displays information regarding the currently executing process.Also I need to know how to Implement a simple ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    1

    Kernel Programming



    How to create a Linux kernel module that implements a file in /proc which displays information regarding the currently executing process.Also I need to know how to Implement a simple user program that calls the read system call on the created proc entry and displays it.

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    I don't know exact solution ,but hints are :try with something like inotify.
    So that as soon as process is created or file is created in /proc you will be notified.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •