linux 进程优先级设置
2013-05-11 12:31
232 查看
注意:一下均是非实时进程的优先级的设置
nice(1): 以指定优先级运行程序
nice [OPTION] [COMMAND [ARG]...]
nice –n 1 ls
renice(8): 调整运行进程的优先级
renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]
renice +1 987 -u daemon root -p 32
API:
nice(2): 改变进程优先级
int nice(int inc);
getpriority(2): 获取优先级
int getpriority(int which, int who);
setpriority(2): 设置优先级
int setpriority(int which, int who, int prio);
nice(1): 以指定优先级运行程序
nice [OPTION] [COMMAND [ARG]...]
nice –n 1 ls
renice(8): 调整运行进程的优先级
renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]
renice +1 987 -u daemon root -p 32
API:
nice(2): 改变进程优先级
int nice(int inc);
getpriority(2): 获取优先级
int getpriority(int which, int who);
setpriority(2): 设置优先级
int setpriority(int which, int who, int prio);
相关文章推荐
- LINUX进程优先级的设置和一些注意地方
- linux 进程优先级设置
- linux 进程优先级设置
- linux 进程优先级 之设置实时进程 (另一种方式是设置nice值)
- linux进程优先级、进程nice/renice设置
- 转:linux设置进程优先级
- linux 使用nice命令设置进程优先级
- linux CPU隔离和进程调度优先级设置
- linux下设置进程优先级方法!
- linux进程优先级设置
- linux nice命令: 设置进程优先级
- 转:linux设置进程优先级
- linux 进程优先级 之设置实时进程 (另一种方式是设置nice值)【转】
- linux进程优先级、进程nice值
- linux进程优先级、进程nice值(转载)
- linux线程的优先级设置
- Linux 进程(一下)进程优先级
- Linux Kernel Development -- 设置当前进程的状态
- 如何在linux/unix中设置线程的优先级
- linux进程优先级、进程nice值