I've tried to write the process to the tasks file but I keep getting a "No such process error." I am running it as the root user on a Ubuntu 20.04 desktop. Any reason why I cannot write the process?
Can you provide the outputs for the following commands running as root?
echo <bash-process-PID> >> /sys/fs/cgroup/freezer/mycgroup/tasks