"Fossies" - the Fresh Open Source Software Archive

Member "sysstat-12.2.2/tests/00220" (1 May 2020, 243 Bytes) of package /linux/misc/sysstat-12.2.2.tar.xz:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 TZ=GMT
    2 DATE=`date --date=yesterday +%d`
    3 if [ ${DATE} -ne 18 ]
    4 then
    5 	rm -f tests/sa${DATE}
    6 	mv tests/sa18 tests/sa${DATE}
    7 fi
    8 echo sa2: File is sa${DATE}
    9 LC_ALL=C TZ=GMT ./sa2 -A && mv tests/sar${DATE} tests/out.sa2.tmp && rm -f tests/sa${DATE}