代碼:
#
# List all possible Application who use glibc
#
$ lsof | grep libc | awk '{print $1}' | sort | uniq
Ubuntu1404# ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.5) 2.19 <-------------- Safe
CentOS 6# ldd --version
ldd (GNU libc) 2.17 <--------------------------- Might not be safe
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.