The strings command line tool is required. It is installed on most servers by default but will need to be installed if it's not present. The command prints the strings of printable characters in files.
To use the command and acquire the EEM version, we'll need to print the version from within the eiamSpindle.so file. In the command line go to <EIAM_HOME>/lib folder. This is typically /opt/CA/SharedComponents/EmbeddedEntitlementsManager/lib.
To print the version, run the following command.
strings eiamSpindle.so | grep "12\."
It will return the exact EEM version.
Note: Hotfixes are not included in this output. They need to be kept on a list that is managed manually.