Artesyn MOTLoad Firmware Package User's Manual (Febru User Manual Page 215

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 214
MOTLoad Commands
MOTLoad Firmware Package User’s Manual (6806800C24D)
215
3.1.119 time
Name
time—displays the current date and time.
Synopsis
time [-d] [-s]
Parameters
-d Ps: Device Name (Default = /dev/rtc)
-s 0: Short Option (MMDDYYHHMMSS)
Example
The following example indicates a typical display when using the time command.
MOTLoad> time
FRI JUN 7 16:45:02.00 2002
For SBCs without a Real-Time Clock device, the PowerPC time base can be displayed
MOTLoad> time -d/dev/ppctb
FRI JUN 7 16:45:02.00 2002
Error Messages
timeGet(): open(<device>) failed, errno =
Unable to open RTC device.
timeGet(): ioctl(105) failed, errno = <value>
Unable to read time in RTC (short).
timeGet(): ioctl(106) failed, errno = <value>
Unable to read time in RTC (long).
Page view 214
1 2 ... 210 211 212 213 214 215 216 217 218 219 220 ... 281 282

Comments to this Manuals

No comments