blade create cpu fullload -h
blade create cpu fullload --cpu-count 1
{"code":200,"success":true,"result":"6fa04946baf42920"}
# code 的值等于 200 说明执行成功,其中 result 的值就是 uid。使用 top 命令验证实验效果
%Cpu0 :100.0 us, 0.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
blade destroy 6fa04946baf42920
{"code":200,"success":true,"result":"command: cpu fullload --cpu-count 2 --debug false --help false"}
# 返回值会打印此次实验的命令。再次使用 top 命令验证实验效果
%Cpu0 : 0.3 us, 0.3 sy, 0.0 ni, 99.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st