LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2003, 02:46 PM   #1
jedblack
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Question PID display command for kernel modules


OMG, for the life of me I cannot remember this command...

basicly I cant remember the command that will display what PID is using a certain module


e.g.
rmmod eepro100
output: eepro100: Device or resource busy

so now i need to do a [COMMAND] eepro100 in order to find out what PID to kill so therefor I can unload the module

I know its simple, I just cannot remember that damn command...



Thanks ya'll
 
Old 11-28-2003, 07:01 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
not sure if it's a PID you're looking for. The device or resource is busy probably means that a lot of kernel stuff is dependant on that module.

Why can't you just take the network down and then unload the module with 'modprobe -r <module>' ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I extract the pid field from ps aux command RajRed Linux - Newbie 7 12-09-2013 01:43 PM
PID Kill Script or command ? Webmin rapture_1 Linux - General 1 11-02-2005 12:11 PM
Getting PID from a system command in Linux perl script sumbabs Linux - General 1 03-03-2005 11:38 AM
/var/run/[XXX].pid - Tcl pid code liguorir Linux - Software 1 05-20-2004 11:32 PM
how to get PID without using pidof command? ruchika Programming 2 09-22-2003 04:12 PM


All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration