File: 00072

package info (click to toggle)
sysstat 12.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 20,092 kB
  • sloc: ansic: 47,023; sh: 1,314; xml: 1,287; makefile: 766; tcl: 756; python: 277; perl: 257
file content (25 lines) | stat: -rw-r--r-- 938 bytes parent folder | download | duplicates (3)
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
rm -f tests/data-cd.tmp
rm -f tests/root
ln -s root1 tests/root
STEP=`TZ=GMT date --date="2019-05-01 23:59:57" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null

rm -f tests/root
ln -s root2 tests/root
STEP=`TZ=GMT date --date="2019-05-01 23:59:58" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null

rm -f tests/root
ln -s root3 tests/root
STEP=`TZ=GMT date --date="2019-05-01 23:59:59" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null

rm -f tests/root
ln -s root4 tests/root
STEP=`TZ=GMT date --date="2019-05-02 00:00:00" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null

rm -f tests/root
ln -s root5 tests/root
STEP=`TZ=GMT date --date="2019-05-02 00:00:01" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null