How to get a list of running libs

Post tutorials, HOWTO's and other useful resources here.

How to get a list of running libs

Postby fulalas » 26 Apr 2017, 07:05

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
Posts: 343
Joined: 26 Oct 2016, 16:34
Location: Brazil
Distribution: Porteus

Return to Tutorials

Who is online

Users browsing this forum: and 3 guests