#!/bin/bash
# Periodic CPU Contention Experiment
EXPERIMENT_NAME='No Contention Baseline'
TARGET_NODE='node-3'
VICTIM_SERVICES='search'
NOISY_NEIGHBOR_TYPE='cpu'
CONTENTION_BURSTS=$(burst 0 60 1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # By default, sudo does NOT pass the user's original PATH into the superuser process, and it gets some default PATH defined on the system. | |
| # Following cmd pass user's PATH into sudo, replacing env with the commond you want. | |
| sudo env PATH="$PATH" command | |
| # Example of passing Latexmk's PATH | |
| sudo env PATH="$PATH" latexmk -pdf -shell-escape -use-make main.tex |