#! /bin/zsh # This script is used to monitor the BE core. # # Output the state of BE -- frozen or thawed -- as # well as the processes running there. local be_path=/sys/fs/cgroup/freezer/0 local state_file=$be_path/freezer.state local task_file=$be_path/tasks cat $state_file cat $task_file