Difference between revisions of "Package:Lib users"

 
Line 19: Line 19:
 
###i## lib_users
 
###i## lib_users
 
</console>
 
</console>
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"
 
  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"
 
  4707 "/usr/sbin/snmptrapd -p /var/run/snmptrapd.pid"

Latest revision as of 17:58, July 29, 2014

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