How Can I develop a process monitor?

From: Abel Muņoz Alcaraz (abel@trymedia.com)
Date: Tue Oct 03 2000 - 14:32:21 EDT

  • Next message: Alexander Viro: "Re: How Can I develop a process monitor?"

    Hi everybody,

            I want to develop a process monitor (like TOP) in a kernel module.
            I think I must get the '/proc' superblock and replace the
    inode_operations->mkdir,rmdir,create and open.

            Is this correct?
            Can I get the /proc superbloc with 'struct super_block * get_super(kdev_t
    dev' function?

            I am going to develop this module in C.

    Thanks in advance.
    -Abel.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Tue Oct 03 2000 - 14:41:18 EDT