Results 1 to 7 of 7

Thread: How Can I Tell Which Linux Kernel I am runnning

  1. #1
    Banned Newbie
    Join Date
    May 2005
    Posts
    2

    Default How Can I Tell Which Linux Kernel I am runnning

    This is probably an elementary question but how can I tell which Linux Kernel I am running? Env doesn't tell me. Is there some other way to tell? Again, I'm sure this is probably a beginner question. I am trying to install Real Networks Helix server and it calls for 2.4.18, gLibC 2.2.4. I have Linux Gold VPS. Thanks!!! Jason at Sammson

  2. #2
    Junior Member Newbie
    Join Date
    May 2005
    Posts
    23

    Default

    I believe that you can get the version for the headers.
    /usr/include/linux.

    or

    You can get the version from
    /usr/include/linux/version.h.

    or

    You can get the version of the currently executing kernel from
    /proc/version

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2005
    Posts
    12

    Default Seeing Running Kernel Version on a *nix Server

    You can always see the running kernel version on a *nix system by using the uname command

    uname -a

    will show everything you'll need to know about the running kernel version on a box.

  4. #4
    Banned Newbie
    Join Date
    May 2005
    Posts
    2

    Default

    Awesome! Thanks for the info everyone!

  5. #5
    Member Newbie
    Join Date
    Apr 2005
    Location
    Juneau Alaska
    Posts
    36

    Default

    there are a couple of other commands you can run to see about packages you have installed on your server.

    Try these:

    rpm -qa | grep kernel
    &
    rpm -qa | grep glibc

    This should give you the info you need about both packages.
    Chris Ruschmann
    Former Employee
    Visit Suges blog!

  6. #6
    Junior Member Newbie
    Join Date
    Dec 2006
    Posts
    1

    Default

    hi!

    is there an equivalence on Linux to the AIX command : bootinfo -K ??
    (to know if the kernel is runnin on 32 or 64 bits)

    thanks for your help

  7. #7
    Former Employee Newbie
    Join Date
    Nov 2005
    Posts
    56

    Default

    The command to check your architecture is 'uname -i', but inside the VPS it will lie and say i386 even if the kernel is x86_64. All of our VPS templates are 32 bit, even if the underlying kernel is 64 bit. Using a 64 bit kernel allows us to address more memory and get better performance, but your VPS won't run 64 bit binaries.

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
  •