当前位置: 首页 > 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

该日志由 u2 于2011年09月15日发表在 linux 分类下,
原创文章转载请注明: nice linux | 2hei.net

报歉!评论已关闭.