The Japanese Manual team(man-jp@jp.FreeBSD.ORG) has translated and keeps maintaining them. Submitted by: Kazuo Horikawa <horikawa@isrd.hitachi.co.jp>
121 lines
3.9 KiB
Groff
121 lines
3.9 KiB
Groff
.\" Copyright (c) 1983, 1991, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)renice.8 8.1 (Berkeley) 6/9/93
|
|
.\" jpman %Id: renice.8,v 1.3 1997/07/26 22:06:08 horikawa Stab %
|
|
.\"
|
|
.Dd June 9, 1993
|
|
.Dt RENICE 8
|
|
.Os BSD 4
|
|
.Sh ̾¾Î
|
|
.Nm renice
|
|
.Nd Áö¹ÔÃæ¤Î¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤òÊѹ¹¤¹¤ë
|
|
.Sh ½ñ¼°
|
|
.Nm renice
|
|
.Ar priority
|
|
.Oo
|
|
.Op Fl p
|
|
.Ar pid ...
|
|
.Oc
|
|
.Oo
|
|
.Op Fl g
|
|
.Ar pgrp ...
|
|
.Oc
|
|
.Oo
|
|
.Op Fl u
|
|
.Ar user ...
|
|
.Oc
|
|
.Sh ²òÀâ
|
|
.Nm renice
|
|
¤Ï¡¢1 ¤Ä°Ê¾å¤ÎÁö¹ÔÃæ¥×¥í¥»¥¹¤Î¥¹¥±¥¸¥å¡¼¥ëÍ¥ÀèÅÙ¤òÊѹ¹¤·¤Þ¤¹¡£
|
|
priority ¤Ë¸å³¤¹¤ë¥Ñ¥é¥á¡¼¥¿
|
|
.Ar who
|
|
¤Ï¡¢¥×¥í¥»¥¹ ID ¤«¡¢¥×¥í¥»¥¹¥°¥ë¡¼¥× ID ¤«¡¢¥æ¡¼¥¶Ì¾¤È¤·¤Æ²ò¼á¤µ¤ì¤Þ¤¹¡£
|
|
¥×¥í¥»¥¹¥°¥ë¡¼¥×¤ËÂФ¹¤ë
|
|
.Nm renice
|
|
¤Î¼Â¹Ô¤Ï¡¢¤½¤Î¥°¥ë¡¼¥×¤Ë°¤¹¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤òÊѲ½¤µ¤»¤Þ¤¹¡£
|
|
¥æ¡¼¥¶Ì¾¤ËÂФ¹¤ë
|
|
.Nm renice
|
|
¤Î¼Â¹Ô¤Ï¡¢¤½¤Î¥æ¡¼¥¶¤¬½êͤ¹¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤òÊѲ½¤µ¤»¤Þ¤¹¡£
|
|
¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥×¥í¥»¥¹ ID ¤Ç»ØÄꤷ¤¿¥×¥í¥»¥¹¤Î¤ß¤¬±Æ¶Á¤ò¼õ¤±¤Þ¤¹¡£
|
|
.Pp
|
|
.Nm renice
|
|
¤Ë¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤ë¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹:
|
|
.Bl -tag -width Ds
|
|
.It Fl g
|
|
.Ar who
|
|
¥Ñ¥é¥á¡¼¥¿¤ò¥×¥í¥»¥¹¥°¥ë¡¼¥× ID ¤Ç¤¢¤ë¤È²ò¼á¤µ¤»¤Þ¤¹¡£
|
|
.It Fl u
|
|
.Ar who
|
|
¥Ñ¥é¥á¡¼¥¿¤ò¥æ¡¼¥¶Ì¾¤Ç¤¢¤ë¤È²ò¼á¤µ¤»¤Þ¤¹¡£
|
|
.It Fl p
|
|
.Ar who
|
|
¥Ñ¥é¥á¡¼¥¿¤ò¥×¥í¥»¥¹ ID ¤Ç¤¢¤ë¤È²ò¼á¤µ¤»¤Þ¤¹(¥Ç¥Õ¥©¥ë¥È)¡£
|
|
.El
|
|
.Pp
|
|
¤¿¤È¤¨¤Ð¡¢
|
|
.Bd -literal -offset
|
|
renice +1 987 -u daemon root -p 32
|
|
.Ed
|
|
.Pp
|
|
¤Ï¡¢¥×¥í¥»¥¹ ID ¤¬ 987, 32 ¤Î¥×¥í¥»¥¹¤È¡¢
|
|
¥æ¡¼¥¶ daemon, root ¤¬½êͤ¹¤ë¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤òÊѹ¹¤·¤Þ¤¹¡£
|
|
.Pp
|
|
¥¹¡¼¥Ñ¥æ¡¼¥¶°Ê³°¤Î¥æ¡¼¥¶¤Ï½êͤ¹¤ë¥×¥í¥»¥¹¤Ë¤Ä¤¤¤Æ¤Î¤ßÊѹ¹¤¬²Äǽ¤Ç¡¢
|
|
¥×¥í¥»¥¹¤Î ``nice ÃÍ'' ¤ò 0 ¤«¤é
|
|
.Dv PRIO_MAX
|
|
(20) ¤ÎÈÏ°ÏÆâ¤ÇñĴ¤ËÁý²Ã¤µ¤»¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
(¤³¤ì¤Ë¤è¤ê¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ë¤è¤ëÌ¿Î᤬̵¸ú¤Ë¤Ê¤ë¤Î¤òËɤ®¤Þ¤¹¡£)
|
|
¥¹¡¼¥Ñ¥æ¡¼¥¶¤Ï¡¢¤¹¤Ù¤Æ¤Î¥×¥í¥»¥¹¤ÎÍ¥ÀèÅÙ¤ò
|
|
.Dv PRIO_MIN
|
|
(\-20) ¤«¤é
|
|
.Dv PRIO_MAX
|
|
(20) ¤ÎÈϰϤǼ«Í³¤ËÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
¤è¤¯ÍѤ¤¤é¤ì¤ëÃͤȤ·¤Æ¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹:
|
|
20 (¥·¥¹¥Æ¥àÆâ¤Î¤Û¤«¤Î¥×¥í¥»¥¹¤¹¤Ù¤Æ¤¬Áö¹Ô¤·¤Ê¤¤¤È¤¤Î¤ßÁö¹Ô¤¹¤ë)¡¢
|
|
0 (``´ð½à'' ¤È¤Ê¤ë¥¹¥±¥¸¥å¡¼¥ëÍ¥ÀèÅÙ)¡¢
|
|
ŬÅö¤ÊÉé¤ÎÃÍ(¤½¤Î¥×¥í¥»¥¹¤òÁÇÁ᤯¼Â¹Ô¤µ¤»¤ë)
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /etc/passwd -compact
|
|
.It Pa /etc/passwd
|
|
¥æ¡¼¥¶Ì¾¤È¥æ¡¼¥¶ ID ¤ò´ØÏ¢¤Å¤±¤ë
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr getpriority 2 ,
|
|
.Xr setpriority 2
|
|
.Sh ¥Ð¥°
|
|
¥¹¡¼¥Ñ¥æ¡¼¥¶°Ê³°¤Î¥æ¡¼¥¶¤Ï¡¢¤¿¤È¤¨°ÊÁ°¤ËÍ¥ÀèÅÙ¤ò²¼¤²¤¿¥×¥í¥»¥¹¤Ç¤¢¤Ã¤Æ
|
|
¤âÍ¥ÀèÅÙ¤ò¾å¤²¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¤Ï
|
|
.Bx 4.0
|
|
¤ÇÄɲ䵤ì¤Þ¤·¤¿¡£
|