check what 32-bit packages are installed on a 64-bit server
Solution 1:
You can query RPM database for architecture of installed packages. This command will list all installed packages and their architecture:
rpm -qa --queryformat '%{NAME} %{ARCH}\n'
So if you want to find 32-bit packages only you can check the above list for architectures i686, i586, i486 and i386:
rpm -qa --queryformat '%{NAME} %{ARCH}\n' | grep 'i[6543]86' | cut -d' ' -f1
Solution 2:
Would
yum list installed *.i*86
do what you want ? There's more information on this here in the CentOS General faq.