1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2009 FUJITSU LIMITED 4# Author: Li Zefan <lizf@cn.fujitsu.com> 5 6trap exit USR1 7 8while true; do 9 mount -t cgroup xxx cgroup/ > /dev/null 2>&1 10 mkdir cgroup/0 > /dev/null 2>&1 11 rmdir cgroup/0 > /dev/null 2>&1 12 umount cgroup/ > /dev/null 2>&1 13done 14