User's Manual
ReliaGATE 10-12 User manual Rev. 2-1 12 How to manage interfaces in Linux
12.14 How the RTC is exposed
The ReliaGATE 10-12 exposes the RTC as follows:
l RTC:
/dev/rtc1
/dev/rtc1 offers three read-only timestamp registers:
Timestamp register What it contains
sys/class/rtc/rtc1/device/timestamp1 Reserved data
sys/class/rtc/rtc1/device/timestamp2 The timestamp that the system last lost power (only if a successful
initialization has been achieved)
sys/class/rtc/rtc1/device/timestamp3
The timestamp that the system last has been powered
(only if a successful initialization has been achieved)
To read a timestamp (for example: timestamp2), enter the following command:
cat /sys/class/rtc/rtc1/device/timestamp2
87 / 118