Page 1 of 1

How to get a list of running libs

Posted: 26 Apr 2017, 06:05
by fulalas
I'm playing around with a completely new LXQt module (using Arch builds, so we don't need to wait for Slackware repositories) and I've found a very useful command to check all running libs:

Code: Select all

sudo lsof | grep mem | grep "\.so"| awk '{print $9}'| sort| uniq
This is especially useful when you're trying to clean a module bloated with unused libs -- of course, before running this command you should keep all desired programs running at the same time. :good:

And If you just want to know which applications are using a given lib:

Code: Select all

lsof | grep