You are not logged in.

#1 2007-11-03 19:55:49

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

date/time and `uname -a`

Good evening,

everytime I execute uname -a and read through the specs listed, I have to admit, that I am confused by the date which is displayed.

Linux celestary 2.6.23-ARCH #1 SMP PREEMPT Sat Oct 27 09:04:14 UTC 2007 i686 Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz GenuineIntel GNU/Linux

This is not supposed to reflect the current time, I assume? Is it the date/time the kernel has been built? I would be grateful to become enlighted in this regard.

regards
cg


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#2 2007-11-03 20:59:18

retsaw
Member
From: London, UK
Registered: 2005-03-22
Posts: 132

Re: date/time and `uname -a`

Yes, I believe it is when the kernel was built.  The time and date given by "uname -a" on my system with my custom compiled kernel matches up with when the package was created.

Offline

#3 2007-11-03 21:04:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: date/time and `uname -a`

man uname, for all the details. The build date is included in the -v, --kernel-version flag.

Offline

#4 2007-11-03 21:05:11

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: date/time and `uname -a`

It's what the manual calls "Kernel version". Same output is given with "uname -v"

[edit]:seams like tomk was a bit quicker

Last edited by Jansson (2007-11-03 21:06:49)

Offline

#5 2007-11-03 21:21:21

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

Re: date/time and `uname -a`

Thanks for the quick answers. A lot nicer then RTFM, which would technically also have been sufficient.


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#6 2018-01-07 09:32:27

guffoe
Member
From: ip
Registered: 2018-01-07
Posts: 3

Re: date/time and `uname -a`

bash -c 'date -u +%W$(uname)|sha256sum|sed "s/\\W//g"'

Offline

#7 2018-01-07 10:08:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,006

Re: date/time and `uname -a`

Don't necrobump 10 year old threads with irrelevant drivel.

Closing.

Offline

Board footer

Powered by FluxBB