Linux find all the services/applications that rely on the GNU C libraries (Glibc) command

Fig.01: Linux find all the services/applications that rely on the GNU C libraries (Glibc) command

Fig.01: Linux find all the services/applications that rely on the GNU C libraries (Glibc) command

You can use the following combination of lsof and other Linux commands to list and find all the services, applications, binaries that rely on the GNU C libraries (Glibc). The syntax is (run as the root):

lsof | grep libc | awk '{print $1}' | sort | uniq

Sample outputs from Red Hat Enterprise / CentOS Linux v 6.8 server:

abrtd
abrt-dump
acpid
agetty
atd
audispd
auditd
awk
bash
crond
cupsd
dbus-daem
grep
hald
hald-addo
hald-runn
init
irqbalanc
lighttpd
lsof
master
memcached
mingetty
mysqld
mysqld_sa
ncsa_auth
ntpd
php-cgi
pickup
qmgr
rhnsd
rhsmcertd
rpcbind
rpc.idmap
rpc.mount
rpc.rquot
rpc.statd
rsyslogd
sedispatc
sort
squid
sshd
udevd
uniq
unlinkd
vnstatd

Examples and usage: How To Patch and Protect Linux Server Against the Glibc GHOST Vulnerability # CVE-2015-0235