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

Re: list what is using a module



On Sat, Aug 09, 2003 at 11:53:38AM -0500, matt zagrabelny wrote:

> i would like to remove a module. when i do "rmmod <module_name>" i get:
> 
> <module_name>: device or resource busy
> 
> is there a way to list processes that are using a module?

If the module has a device associated with it, then you can use lsof on
the device file.

> are processes the only thing that need to be stopped before a module can
> be removed?

Usually.

-- 
Dave Carrigan
Seattle, WA, USA
dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL



Reply to: