Reference Guide

rtctool
The rtctool allows setting and testing of the real time clock (RTC) in the system.
Tests
CLI options
DellEmc Diag - RTC Tool
version 1.1, x.xx.x.x-x
build, 2017/05/23,
Syntax: rtctool <option>
Show the help-text:=
rtctool --help (or)
rtctool -h
Read the current RTC:=
rtctool --readrtc (or)
rtctool -r
Test RTC device with user interrupt:=
rtctool --testuie (or)
rtctool -u
Test RTC device with alarm interrupt:=
rtctool --testaie (or)
rtctool -a
Test RTC device with periodic interrupt:=
rtctool --testpie (or)
rtctool -p
Test the RTC device:=
rtctool --test (or)
rtctool -t
Set rtc to new time (input all params in same order):=
rtctool --setrtc --year=<year>, --mon=<month> --day=<day> --hour=<hour> --
min=<min> --sec=<sec> --tz=<offset>
(or)
rtctool -s -y <year> -m <month> -D <day> -H <hour> -M <min> -S <sec> -Z <offset>
Execute repeatedly command by count:=
rtctool --iteration=max/<count> [option1] [option2]... (or)
rtctool -I max/<count> [option1] [option2]...
Usage:=
-h, --help Show the help text
-r, --readrtc Read operation
-s, --setrtc Set operation
-u, --testuie Test RTC device with user interrupt
-a, --testaie Test RTC device with alarm interrupt
-p, --testpie Test RTC device with periodic interrupt
-I, --iteration= Iteration command execution
-y, --year= Year
-m, --month= Month
-D, --day= Day
-H, --hour= Hour
-M, --min= Minute
-S, --sec= Second
-Z, --offset= +12.0 to -12.0 timezone offset
storagetool
The storagetool tests mounted storage media.
The tool searches for any device in /dev/hd*, sda, sdb, or sdc and tests using them. The tests are file-copy tests to the
device in the mounted file system. The files are written, compared and removed, leaving the file system as it was before the
76
Dell EMC DIAG OS tools