The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:Lib users"
Line 19: | Line 19: | ||
###i## lib_users | ###i## lib_users | ||
</console> | </console> | ||
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
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
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