nice linux
Sep152011
作者:u2 发布:2011-09-15 16:42 分类:linux nice linux已关闭评论
Just a mark:
nice -n 19 nice
19
sudo nice -n -20 nice
-20
————-
$man nice
NICE(1) User Commands NICE(1)
NAME
nice – run a program with modified scheduling priority
SYNOPSIS
nice [OPTION] [COMMAND [ARG]…]
DESCRIPTION
Run COMMAND with an adjusted niceness, which affects process scheduling. With no COMMAND, print the current nice-
ness. Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable).
-n, –adjustment=N
add integer N to the niceness (default 10)
–help display this help and exit
–version
output version information and exit
NOTE: your shell may have its own version of nice, which usually supersedes the version described here. Please
refer to your shell?. documentation for details about the options it supports.
本文固定链接: https://www.2hei.net/2011/09/15/nice_linux/ | 2hei.net
最活跃的读者