Results 1 to 10 of 10

Thread: code to find out bit number

  1. #1
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 14.10 Utopic Unicorn

    code to find out bit number

    can i get a code to check my bit number? friend never told me if im 32 bit or 64

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: code to find out bit number

    Open a terminal :

    Code:
    uname -a
    Last edited by wojox; July 9th, 2009 at 06:52 AM.

  3. #3
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: code to find out bit number

    Quote Originally Posted by wojox View Post
    Open a terminal :
    then what?

  4. #4
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: code to find out bit number

    Sorry

    Code:
    uname -a

  5. #5
    Join Date
    Feb 2009
    Beans
    98
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: code to find out bit number

    Quote Originally Posted by cybuss View Post
    can i get a code to check my bit number? friend never told me if im 32 bit or 64
    Are you talking about software or hardware?

    If you want to know about your software, that is, how many bits is your ubuntu system, then do what wojox said and look for an i686 in the output, like:

    Code:
    Linux fbugnon-desktop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux
    If you have this, you're under 32 bits, if you have something else, ending with an "_64", then you have a 64 bits.


    BUT, if you´re talking about hardware, try this command:

    Code:
    $ lshw
    It will come a very long output, look the cpu specifications (beginning). For instance, in mine computer reads:

    Code:
     *-cpu
              product: AMD Athlon(tm) 64 Processor 3500+
              vendor: Advanced Micro Devices [AMD]
              physical id: 1
              bus info: cpu@0
              version: 15.15.0
              size: 2200MHz
              capacity: 2200MHz
              width: 64 bits
    Last edited by fbugnon; July 9th, 2009 at 07:02 AM.
    Ubuntu user 27.973 : Linux user 492.713 : Free as in GNU/Linux

  6. #6
    Join Date
    Jun 2008
    Beans
    301
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: code to find out bit number

    type:

    uname -m into terminal

    if you have 32 bit version it will say: i386 and if you have 64 it will say x86_64

    hope this helps

  7. #7
    Join Date
    Jul 2006
    Location
    CA, USA
    Beans
    Hidden!

    Re: code to find out bit number

    Code:
    cat /proc/cpuinfo
    in a terminal
    Linux user #438926.|Ubuntu Linux #10924| Questions: The Smart Way

  8. #8
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: code to find out bit number

    Where is the bit # in cat /proc/cpuinfo ?

  9. #9
    Join Date
    Feb 2009
    Beans
    98
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: code to find out bit number

    Quote Originally Posted by LookTJ View Post
    Code:
    cat /proc/cpuinfo
    in a terminal
    this is certainly a lot easier, hardware-wise.
    Ubuntu user 27.973 : Linux user 492.713 : Free as in GNU/Linux

  10. #10
    Join Date
    Jul 2006
    Location
    CA, USA
    Beans
    Hidden!

    Re: code to find out bit number

    Quote Originally Posted by wojox View Post
    Where is the bit # in cat /proc/cpuinfo ?
    In a 64 bit CPU, the flags will show "lm"(long mode) while a 32 bit will not
    Linux user #438926.|Ubuntu Linux #10924| Questions: The Smart Way

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •