Results 1 to 12 of 12
  1. #1
    Join Date
    Oct 2001
    Posts
    161

    how to check if my server os is running in 64bit?

    i just got a new server, and i want to make sure they installed the 64bit centos (as opposed to 32bit). how do i check that?

  2. #2
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    1,284
    SSH in to the server and issue the 'uname -a' command. I haven't used CentOS so I don't know if any indication of 64 vs 32 bit will show up in the information but it's worth a try.
    "Obsolesence is just a lack of imagination."

  3. #3
    Join Date
    Oct 2001
    Posts
    161
    ran it....

    2.6.11.7.dn2.64 #3 SMP Mon Apr 11 11:47:02 EDT 2005 i686 athlon i386 GNU/Linux

    does the above mean 32bit or 62bit?

  4. #4
    Join Date
    Jun 2003
    Location
    Janesville, Wi
    Posts
    1,516
    One way to check is this:

    Does /lib64, /usr/lib64, or /usr/local/lib64 exist? If so, the x86_64 version of CentOS was installed.
    Jakiao

  5. #5
    Join Date
    Apr 2003
    Posts
    38
    It's not.

    It should look like
    Linux 2.6.9-5.0.5.ELsmp #1 SMP Tue Apr 19 17:06:07 CDT 2005 x86_64 x86_64 x86_64 GNU/Linux

  6. #6
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    1,284
    2.6.11.7.dn2.64 #3 SMP Mon Apr 11 11:47:02 EDT 2005 i686 athlon i386 GNU/Linux

    Linux 2.6.9-5.0.5.ELsmp #1 SMP Tue Apr 19 17:06:07 CDT 2005 x86_64 x86_64 x86_64 GNU/Linux

    These are different kernels, and it looks like they were compiled with different options set. I's possible they are both 64-bit
    "Obsolesence is just a lack of imagination."

  7. #7
    Join Date
    Dec 2002
    Location
    chica go go
    Posts
    11,858
    2.6.11.7.dn2.64 #3 SMP Mon Apr 11 11:47:02 EDT 2005 i686 athlon i386 GNU/Linux

    I'm not completely sure. But that's probably a good sign.

    There might also be some info in /proc/cpuinfo

  8. #8
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    64bit is not usually i686
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  9. #9
    Join Date
    Oct 2001
    Posts
    161
    it was not... i had them reinstall it.

    now it looks like this...
    2.6.11.7.dn2.64 #9 SMP Thu Apr 21 16:58:25 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

  10. #10
    Join Date
    Oct 2001
    Posts
    161
    and the openssl numbers have doubled.

  11. #11
    uname -m

    will give you output, i383, i686, etc

  12. #12
    Looks like you're running on 32 bits there mate.

    Edit; Saw your post.

Posting Permissions

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