rdate -s time.kriss.re.kr 로 시간설정을
했는데.. 하루에 한번정도.. 시간차이가 조금씩 계속
차이가 납니다.
부팅할때마다 시간설정을 해도 되지만.. 어디선가...
리눅스시간을 자주바꾸면 안좋다고 들었습니다.
혹시 리눅스 부팅시 바이오스 시간설정을 가져오나요?
(바이오스 시간이 정확하지 못합니다. 대충 맞춰나서..)
위의 명령으로 시간을 셋팅하는 것은 리눅스 시스템의 시간을
맞추는 것이고, PC CMOS 에서 보여주는 시간과는 별개입니다.
그로므로 재부팅해버리면 다시 CMOS 시간으로 돌아가버리죠.
위의 명령을 내린 후,
# hwclock --systohc
위의 명령은 시스템의 시간을 CMOS 내의 시계로 덮어씌우는(?)
명령입니다. (근데 데비안 이외의 시스템에서는 명령, 옵션이
좀 다른지는 모르겠습니다.)
두 명령 라인을 항상 쌍으로 실행(물론 crontab에 넣어서)하면 되겠죠.
필 wrote..
rdate -s time.kriss.re.kr 로 시간설정을
했는데.. 하루에 한번정도.. 시간차이가 조금씩 계속
차이가 납니다.
부팅할때마다 시간설정을 해도 되지만.. 어디선가...
리눅스시간을 자주바꾸면 안좋다고 들었습니다.
혹시 리눅스 부팅시 바이오스 시간설정을 가져오나요?
(바이오스 시간이 정확하지 못합니다. 대충 맞춰나서..)
Re: 리눅스 시간이 자주 어긋납니다.
# rdate -s time.kriss.re.kr
위의 명령으로 시간을 셋팅하는 것은 리눅스 시스템의 시간을
맞추는 것이고, PC CMOS 에서 보여주는 시간과는 별개입니다.
그로므로 재부팅해버리면 다시 CMOS 시간으로 돌아가버리죠.
위의 명령을 내린 후,
# hwclock --systohc
위의 명령은 시스템의 시간을 CMOS 내의 시계로 덮어씌우는(?)
명령입니다. (근데 데비안 이외의 시스템에서는 명령, 옵션이
좀 다른지는 모르겠습니다.)
두 명령 라인을 항상 쌍으로 실행(물론 crontab에 넣어서)하면 되겠죠.
필 wrote..
rdate -s time.kriss.re.kr 로 시간설정을
했는데.. 하루에 한번정도.. 시간차이가 조금씩 계속
차이가 납니다.
부팅할때마다 시간설정을 해도 되지만.. 어디선가...
리눅스시간을 자주바꾸면 안좋다고 들었습니다.
혹시 리눅스 부팅시 바이오스 시간설정을 가져오나요?
(바이오스 시간이 정확하지 못합니다. 대충 맞춰나서..)
댓글 달기