实现对多核Linux CPU% 的期望占用

This commit is contained in:
Davidze
2017-08-16 14:16:37 +08:00
commit cda745b19c
9 changed files with 378 additions and 0 deletions

15
test_dead_circle.sh Executable file
View File

@ -0,0 +1,15 @@
#! /bin/bash
# -*- coding=utf-8 -*-
# Author:zhouze03
# Date: 2017-08-15
#######
# 死循环脚本,贪婪程序即该脚本
#######
while true
do
echo "-----do---"
done