Chinaunix首页 | 论坛 | 博客
  • 博客访问: 557219
  • 博文数量: 121
  • 博客积分: 6585
  • 博客等级: 准将
  • 技术积分: 1920
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-01 17:18
文章分类

全部博文(121)

文章存档

2010年(11)

2009年(62)

2008年(48)

分类: LINUX

2009-11-01 20:48:29

文件:cpulimit-1.1.tar.gz
大小:5KB
下载:下载

cpulimit --help

Usage: cpulimit TARGET [OPTIONS...]

TARGET must be exactly one of these:

-p, --pid=N        pid of the process

-e, --exe=FILE     name of the executable program file

-P, --path=PATH    absolute path name of the executable program file

OPTIONS

-l, --limit=N      percentage of cpu allowed from 0 to 100 (mandatory)

-v, --verbose      show control statistics

-z, --lazy         exit if there is no suitable target process, or if it dies

-h, --help         display this help and exit


1./cpulimit -p 进程号  -l 50  限制某程序只能使用50%cpu资源


阅读(1035) | 评论(0) | 转发(1) |
0

上一篇:iftop

下一篇:验证码

给主人留下些什么吧!~~