1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
rm -f tests/datax.tmp
rm -f tests/root
ln -s root1 tests/root
TZ=GMT ./sadc --unix_time=1555593609 -S A_NULL,A_CPU,A_IRQ,A_NET_DEV,A_FS,A_PCSW tests/datax.tmp
TZ=GMT ./sadc --unix_time=1555593613 tests/datax.tmp -C "First comment!" >/dev/null
TZ=GMT ./sadc --unix_time=1555593615 tests/datax.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root2 tests/root
TZ=GMT ./sadc --unix_time=1555593619 tests/datax.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root3 tests/root
TZ=GMT ./sadc --unix_time=1555593623 tests/datax.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root4 tests/root
TZ=GMT ./sadc --unix_time=1555593627 tests/datax.tmp 1 1 >/dev/null
# LINUX RESTART
rm -f tests/root
ln -s root1 tests/root
TZ=GMT ./sadc --unix_time=1555593731 tests/datax.tmp >/dev/null
TZ=GMT ./sadc --unix_time=1555593741 tests/datax.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root2 tests/root
TZ=GMT ./sadc --unix_time=1555593751 tests/datax.tmp 1 1 >/dev/null
TZ=GMT ./sadc --unix_time=1555593755 tests/datax.tmp -C "Second comment!" >/dev/null
#LINUX RESTART
rm -f tests/root
ln -s root1 tests/root
TZ=GMT ./sadc --unix_time=1555593800 tests/datax.tmp >/dev/null
TZ=GMT ./sadc --unix_time=1555593808 tests/datax.tmp 1 1 >/dev/null
#LINUX RESTART
rm -f tests/root
ln -s root1 tests/root
TZ=GMT ./sadc --unix_time=1555593850 tests/datax.tmp >/dev/null
TZ=GMT ./sadc --unix_time=1555593852 tests/datax.tmp >/dev/null
TZ=GMT ./sadc --unix_time=1555593860 tests/datax.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root2 tests/root
TZ=GMT ./sadc --unix_time=1555593865 tests/datax.tmp 1 1 >/dev/null
TZ=GMT ./sadc --unix_time=1555593766 tests/datax.tmp -C "Third..." >/dev/null
TZ=GMT ./sadc --unix_time=1555593767 tests/datax.tmp -C "and fourth comment!" >/dev/null
rm -f tests/root
ln -s root3 tests/root
TZ=GMT ./sadc --unix_time=1555593870 tests/datax.tmp 1 1 >/dev/null
|