All Due to an application issue I need to let app support know whether the version of Samba we are running is 32 or 64 bit. We are running Samba 2.2.8 on Solaris 8 (64 bit mode). Aplogies if this is really obvious but I have looked many places with no luck. It was installed from a file containing Solaris packages - samba-2.2.8-sol8-sparc-local.gz Screenshot of pkginfo:- root/zuxdc2s]/usr/local/samba/bin# pkginfo -l SMCsamba PKGINST: SMCsamba NAME: samba CATEGORY: application ARCH: sparc VERSION: 2.2.8 BASEDIR: /usr/local/samba VENDOR: The Samba Group PSTAMP: Steve Christensen INSTDATE: Oct 07 2003 07:35 EMAIL: steve@smc.vnet.net STATUS: completely installed FILES: 898 installed pathnames 61 directories 46 executables 83762 blocks used (approx) Thanks Tim Yeoman -------------- next part -------------- ---------------------------------------------------------------- This email is intended for the named recipient only. The information contained in this message may be confidential, or commercially sensitive. If you are not the intended recipient you must not reproduce or distribute any part of the email, disclose its contents to any other party, or take any action in reliance on it. If you have received this email in error, please contact the sender immediately. Please delete this message from your computer. ----------------------------------------------------------------
Tim, The "file" command will give you the info you need. Here's some sample output: A 64 bit program: server:> file /usr/bin/sparcv9/adb /usr/bin/sparcv9/adb: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, stripped A 32 bit program: server:> file /usr/local/samba/bin/smbd /usr/local/samba/bin/smbd: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped Cheers, Michael Agard Senior Network Administrator SBI.Razorfish On 11/27/03 9:55 PM, "Tim Yeoman" <tim.yeoman@zurich.com.au> wrote:> All > > Due to an application issue I need to let app support know whether the > version of Samba we are running is 32 or 64 bit. We are running Samba > 2.2.8 on Solaris 8 (64 bit mode). Aplogies if this is really obvious but I > have looked many places with no luck. > > It was installed from a file containing Solaris packages - > samba-2.2.8-sol8-sparc-local.gz > > Screenshot of pkginfo:- > root/zuxdc2s]/usr/local/samba/bin# pkginfo -l SMCsamba > PKGINST: SMCsamba > NAME: samba > CATEGORY: application > ARCH: sparc > VERSION: 2.2.8 > BASEDIR: /usr/local/samba > VENDOR: The Samba Group > PSTAMP: Steve Christensen > INSTDATE: Oct 07 2003 07:35 > EMAIL: steve@smc.vnet.net > STATUS: completely installed > FILES: 898 installed pathnames > 61 directories > 46 executables > 83762 blocks used (approx) > > Thanks > > Tim Yeoman