Re: Linux Version - 32 bit OR 64 bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/2/23 Ajay Jain <ajay050@xxxxxxxxx>:
> Hi,
>
> I have a machine that has an RHEL installed. The machine is a 64 bit
> machine. I want to know whether I am using RHEL-32 bit OR RHEL-64 bit.
> How do I find that? If I do a uname -a, it shows:
>
> Linux resolution 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007
> x86_64 x86_64 x86_64 GNU/Linux
>
> This only shows that I have a 64 bit machine.
>
> From cat /etc/redhat-release, I see:
>
> Red Hat Enterprise Linux WS release 4 (Nahant Update 5)
>
> This also does not show whether it's 32 bit Or 64 bit.
>
> Where/How do I find the same?
>
> Regards,
> Ajay.
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

Try calling file on some essential system binary, f.e. /sbin/init:

$ file /sbin/init
/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

In my case the output of file indicates that I have a 64-bit system.

--
Regards,
Denis Borisevich

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux