blob: da136c0fdbb853abb22e62cf0904a01570b70763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
mkdir -p "$(hostname)-alloc"
NCORES=$(grep -c '^processor' /proc/cpuinfo)
cleanexit() {
pkill -f "stress -c ${NCORES}"
}
trap cleanexit TERM INT
stress -c ${NCORES} &
./run-alloc-rank.sh | tee "$(hostname)-alloc/rank-stress-c${NCORES}.txt"
cleanexit
xz -f -v -9 -M 800M "$(hostname)-alloc/rank-stress-c${NCORES}.txt"
|