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.