Find the answer to your Linux question:
Results 1 to 2 of 2
Hi , Is there a way of determining the time when the kernel was compiled ? I've tried using the uname command , is that a correct way ?...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    Determine kernel compilation time stamp

    Hi ,
    Is there a way of determining the time when the kernel was compiled ?
    I've tried using the uname command , is that a correct way ?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    uname -v or uname -a will give you the timestamp of the kernel build, yes. You can also look at /proc/version which also has this information. On my system, /proc/version contains this string:

    Linux version 2.6.18-128.1.6.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Apr 1 09:10:25 EDT 2009
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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