Package:Lib users

This is the approved revision of this page, as well as being the most recent.

app-admin/lib_users


Source Repository:Gentoo Portage Tree

Summary: Checks /proc for libraries being mapped but marked as deleted



Lib users


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:

# emerge lib_users

Using lib_users

After compiling just run "lib_users" command to view the running processes using old files:

# 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. :)

# /etc/init.d/openfire restart ; /etc/init.d/snmptrapd restart