cancel
Showing results for 
Search instead for 
Did you mean: 

time stamp

SOLVED
Go to solution
kunjuttan
Super Advisor

time stamp

Hi Gurus,
How to change the time stamp of Hp-UX 11.23 system..??
6 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: time stamp

hi,

what exactly do you like to change, some time information about ctime/mtime of some files ???

or you like change system time ??

mikap
kunjuttan
Super Advisor

Re: time stamp

Just I want to change my system time.
kunjuttan
Super Advisor

Re: time stamp

Just I want to change my system time.

is it
#date -u mm/dd/hr/min
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: time stamp

hi,

you have to choices :

use command "date" to set the time

exampels are ==> http://www.cyberciti.biz/faq/unix-date-command-howto-see-set-date-time/

or use ntp server to synchronize the time via network :

1, manual => ntpdate -b server ( http://support.ntp.org/bin/view/Servers/WebHome)

2, you can configgure xntpd for automatic time synchronization

hot to do it :

http://www.cyberciti.biz/faq/howto-configure-hpux-unix-xntpd-ntp-server/

PS : if you run some time depend application for exmaple DB server it would be better to stop it before.

mikap
Michal Kapalka (mikap)
Honored Contributor

Re: time stamp

hi,

also check the timezone :

dev01srv:/etc/default#strings tz
MET-1METDST

mikap
kunjuttan
Super Advisor

Re: time stamp

Thats gr88 mike..thanx..