diff --git a/net/remote/remote-client.sh b/net/remote/remote-client.sh index 20fe83fbb2..8460456053 100755 --- a/net/remote/remote-client.sh +++ b/net/remote/remote-client.sh @@ -49,7 +49,9 @@ local|tar) exit 1 esac -scripts/oom-monitor.sh > oom-monitor.log 2>&1 & +( + sudo scripts/oom-monitor.sh +) > oom-monitor.log 2>&1 & scripts/net-stats.sh > net-stats.log 2>&1 & ! tmux list-sessions || tmux kill-session diff --git a/net/remote/remote-node.sh b/net/remote/remote-node.sh index 371e2c8e7a..1bcabc4a9f 100755 --- a/net/remote/remote-node.sh +++ b/net/remote/remote-node.sh @@ -136,7 +136,9 @@ local|tar) # shellcheck source=/dev/null source ./target/perf-libs/env.sh - scripts/oom-monitor.sh > oom-monitor.log 2>&1 & + ( + sudo scripts/oom-monitor.sh + ) > oom-monitor.log 2>&1 & scripts/net-stats.sh > net-stats.log 2>&1 & maybeNoLeaderRotation=