Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #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
    3rd rock from sun - Often seen near moon
    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.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    FOSS India Award winning ext3fs Undelete tool Online Linux Terminal

Posting Permissions

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