![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stopping A process | gopsman | Shell Programming and Scripting | 4 | 12-05-2007 06:37 AM |
| How do I Process Multiple Files | dc1743 | UNIX for Dummies Questions & Answers | 1 | 09-13-2007 11:11 AM |
| Shell - PLSQL multiple process problem. | deepsweech | Shell Programming and Scripting | 1 | 07-25-2007 02:28 AM |
| I can't resume a process after stopping it! | Nene | Shell Programming and Scripting | 0 | 08-09-2006 10:37 AM |
| How to choose Multiple process or Multiple threads? | ashleykumar | IP Networking | 0 | 04-10-2006 03:30 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I'm trying to update a shared library (*.so) in our AIX machine. However, when I tried to delete the old *.so file, I get this error -> Cannot open or remove a file containing a running program. Based on the information I gather from the net, shared libraries are not unloaded (the file remains locked) even after the process using it has exited.
Would any of you know how I could stop all the process that is currently using that shared library for me to udpate that file? I'm currently using the kill -9 <PID> command but it seems that there's a great number of process that uses that file. Hope someone could help me. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
If you use the fuser {filename} command, you will get a list of procs using the file. Based on this you should then be able to free the file.
|
|
#3
|
|||
|
|||
|
to kill multiple procs, you can issue kill {PID1} {PID2} {PIDn}......
|
|
#4
|
|||
|
|||
|
Not sure if this would help you or not, but take a look at /usr/sbin/slibclean command. I use to have to run this for the Oracle DBA's on a regular basis.
Let me know if this helped you or not. |
|||
| Google The UNIX and Linux Forums |