1#!/bin/bash 2 3set -x 4echo core | sudo tee /proc/sys/kernel/core_pattern 5echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 6