chrt
来源:互联网 发布:10 100base tx端口 编辑:程序博客网 时间:2024/06/16 01:56
管理进程的实时属性:sets or retrieves the real-time scheduling attributes of an existing PID or runs COMMAND with the given attributes. Both
policy (one of SCHED_OTHER, SCHED_FIFO, SCHED_RR, or SCHED_BATCH) and priority can be set and retrieved.
PTIONS
-p, --pid
operate on an existing PID and do not launch a new task
-b, --batch
set scheduling policy to SCHED_BATCH
-f, --fifo
set scheduling policy to SCHED_FIFO
-m, --max
show minimum and maximum valid priorities, then exit
-o, --other
set policy scheduling policy to SCHED_OTHER
-r, --rr
set scheduling policy to SCHED_RR (the default)
-h, --help
display usage information and exit
-v, --version
output version information and exit
USAGE
The default behavior is to run a new command::
chrt [prio] [command] [arguments]
You can also retrieve the real-time attributes of an existing task:
chrt -p [pid]
Or set them:
chrt -p [prio] [pid]
举例:
1、chrt -f 50 /usr/mysql/bin/ndb_mgmd --nowait-nodes 2 --disable-config-cache --initial --config-file=/usr/dhafw/data/mysql/config.ini --nodaemon
5863 5863 FF 50 - 90 1 1.4 FF Ssl poll_schedule_ndb_mgmd
2、chrt -p 30756
pid 30756's current scheduling policy: SCHED_OTHER
pid 30756's current scheduling priority: 0
- chrt
- chrt命令
- [小工具] 使用 chrt 设定调度器策略
- linux 常用命令:chrt & lftp & date & ntpdata & ls -alh & du & watch & tee & bc & meld & kst2
- ORA-00600: 内部错误代码, 参数: [19004], [], [], [], [], []
- DevExpress 2013发展路线图(一)
- 初识KMP
- python十个实战项目
- java 判断是否是数字的两种方法
- chrt
- 用getIdentifier()循环获取资源Id
- NSTimeInterval 的使用
- 在ubuntu下进行adnroid应用开发时,手机无法识别,显示为??????????的解决方法
- 编程从业五年的十四条经验,句句朴实
- 【vim】vim 括号匹配 以及各种跳转技巧.
- cpu值可超过100?
- AutoCad上的Arc的弧度和凸度
- JAVA构造代码块函数使用简介