[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Date Problems...



The #uname -a  command also gives you the version and date of compilation
(installation ?)
eg one our old machines gives
Linux router1 2.0.36 #1 Thu Sep 2 09:28:09 EST 1999 i686 unknown
one of the newer gives
Linux router2 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown

I often use the command 'hwclock --systohc' to set the clock to the system
time after a date command.

Ian


-----Original Message-----
From: Ari Pollak [mailto:compwiz@aripollak.com]
Sent: Wednesday, July 18, 2001 1:53 PM
To: debian-user@lists.debian.org
Subject: Re: Date Problems...


First of all, I don't think that's the real 'uname -a' output. uname -a
has more than just the date. Second of all, the hardware clock and the
system (Linux) clock are different. if you type the command 'date',
you'll probably get the same output as uname. To transfer the hardware
clock to the system clock, use the command 'hwclock --hctosys'.

On Tue, Jul 17, 2001 at 10:34:55PM -0500, Leonard Leblanc wrote:
> Hey All,
>
> This is probably going to be an easy question for most of you, but I can't
> seem to get a grasp on what the problem is...
>
> # hwclock
> Tue Jul 17 22:38:11 2001  -0.044470 seconds
> # hwclock --localtime
> Wed Jul 18 03:37:34 2001  -0.558978 seconds
> # uname -a
> Sat Nov 18 18:47:15 EST 2000
>
> This one completely has me baffled and I can't seem to find any
information
> on it.  Any help is greatly appreciated.
>

--
   ___   ___
  / _ | / _ \   Ari Pollak - ari@aripollak.com - www.aripollak.com
 / __ |/ ___/
/_/ |_/_/     A man needs a good memory after he has lied.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: