hwclock Flashcards

1
Q

hwclock

A

hwclock is an administration tool for the time clocks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

hwclock [FUNCTION]

-r, –show, Display the RTC time.

–get, Display Drift corrected RTC time.

–set, Set the RTC according to –date.

-s, –hctosys, Set the system time from RTC.

A

-w, –systohc, Set the RTC from the system time.

–systz, Send time scale configs to kernel.

–a, –adjust, Adjust hte RTV to account for systematci drift.

–predict, Predict the drifted RTC time according to –date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

hwclock [OPTIONS]

  • u, –utc, The RTC timescale is UTC.
  • l, –localtime, The RTC timscale is Local.
  • f, rtc <file>, Use an alternate file to /dev/rtc0.</file>

–directisa, Use the ISA bus instead of /dev/rtc0 access.

–date <time>, date/time input for --set and --predict.</time>

–delay <sec>, Delay used when set new RTC time.</sec>

A

–update-drift, Update the RTC drift factor.

–noadjfile, Do not use the /etc/adjtime.

–adjfile <file>, Use an alternate file to /etc/adjtime.</file>

–test, Dry run.

-v, –verbose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly