In the shell, you can run the GLIBC shared library file directly to get the GLIBC version, executed under CentOS:
/lib/libc.so. 6
The output is:
GNU C Library Stable release version 2.12, by Roland McGrath et al. Copyright (C) free software Foundation, inc.this are free software; See the source for copying conditions. There is NO warranty; Not even to merchantability or FITNESS for Aparticular PURPOSE. Compiled by GNU CC version 4.4.7 20120313 (Red Hat 4.4.7-16). Compiled on a Linux 2.6.32 system on 2016-02-16.available extensions: the C stubs add-on version 2.1.2. Crypt Add-on version 2.1 by Michael Glad and others GNU libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al bind-8.2.3-t5b RT using Linux kernel aiolibc abis:unique ifuncfor Bug Reporting Instructions , please see:Linux Deterministic System glibc version