[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How Can I develop a process monitor?

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?


> 	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

Reply to: