LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Command for finding OS time. (https://www.linuxquestions.org/questions/linux-newbie-8/command-for-finding-os-time-499041/)

makkays 11-06-2006 04:08 AM

Command for finding OS time.
 
Hi,

I want to check the current time of Redhat time in order to check whether my OS clock is in sync with the server.

thanks

makkays

Blimpie 11-06-2006 04:21 AM

'date' should do the trick

rkelsen 11-06-2006 05:16 AM

'ddate' is funnier... :D

reddazz 11-06-2006 08:22 AM

Quote:

Originally Posted by rkelsen
'ddate' is funnier... :D

I didn't know that command until I saw your post. The output is really funny.

makkays 11-10-2006 12:20 AM

OS time clock synchcronization with win2003 server clock.
 
Hi,

Thanks for the reply. but my problem is, i have a wins2003 server on which atomic clock running. i have to login in to redhat machine and then issue a command which checks that my redhat machine sys clock is in sync with the atomic clock on win2003 server.i can do this from another win2003 server machine by following command: net time \\ip-address of atomic clock machine.

this command checks the sync condition and returns it.

is there any such command in redhat by which i can perform the above functions.

thanks and waiting for reply

regards
makkays


All times are GMT -5. The time now is 10:18 AM.