Fla*_*ron 2 server tar cpulimit
我正在尝试使用cpulimit命令,例如:
cpulimit -e 'tar -chzf [...]' -l 50
Run Code Online (Sandbox Code Playgroud)
但是 cpulimit 似乎无法启动该过程:
Warning: no target process found. Waiting for it...
Run Code Online (Sandbox Code Playgroud)
那么我如何调用 cpulimit 以从tar它的所有输入参数开始呢?
尝试:
cpulimit -l 50 -- tar -chzf ...
Run Code Online (Sandbox Code Playgroud)
从示例中man cpulimit:
# cpulimit -l 20 firefox
Launch Firefox web browser and limit its CPU usage to 20%
# cpulimit -l 25 -- firefox -private
Launch Firefox web browser in private mode and limit its CPU usage to 25%
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4063 次 |
| 最近记录: |