Re: How Can I develop a process monitor?

From: Alexander Viro (viro@math.psu.edu)
Date: Tue Oct 03 2000 - 13:47:05 EST


On Tue, 3 Oct 2000, [iso-8859-1] Abel Muņoz Alcaraz wrote:

> 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.

        None of these exist.

> Is this correct?

        No.

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

        No (for obvious reason: what device number would you use?)

It might help if you would
        * describe what do you want to do
        * tell which kernel branch you are dealing with

-
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 : Sat Oct 07 2000 - 21:00:12 EST