How do I check if my python and mysql are 32 bit installations or 64 bit?
+2
A:
readelf -h $(which mysqld) | grep Class
readelf -h $(which python) | grep Class
Seems to work for me. The readelf command is part of the GNU binutils.
André Laszlo
2010-07-31 22:42:11
+3
A:
You can use the file
command :
file `which python`
file `which mysql`
The file
command is available on all UNIX-based systems.
Studer
2010-07-31 23:22:45