The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Package:Lib users
Lib users
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
What is lib_users?
In openSUSE, there is a very useful command after performing updates that tells me which running processes are using obsolete files after they have been replaced by updated copies. The command is "zypper ps". It helps to avoid rebooting the machine (as I have to do in Gentoo), since I know exactly what needs to be restarted (X, sshd, etc.).
Installing lib_users
Emerging
To install lib_users, run the following command:
root # emerge lib_users
Using lib_users
After compiling just run "lib_users" command to view the running processes using old files:
root # lib_users
server distfiles # lib_users 4612 "/opt/sun-jdk-1.6.0.33/bin/java -server -Xmx256m -DopenfireHome=/opt/openfire -Dopenfire.lib.dir=/opt/openfire/lib -classpath /opt/openfire/lib/startup.jar -jar /opt/openfire/lib/startup.jar" 4707 "/usr/sbin/snmptrapd -p /var/run/snmptrapd.pid"
Restart the processes and ready. :)
root # /etc/init.d/openfire restart ; /etc/init.d/snmptrapd restart