Importing usr.bin/nice

Replaces commands/nice. No Minix-specific changes needed.

Change-Id: I3e089497dcd86893aa28e3a973496af5b1689f45
This commit is contained in:
Thomas Cort
2013-10-12 07:01:11 -04:00
parent 10d6e1a8d2
commit d37082b292
9 changed files with 189 additions and 77 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ MAN= ash.1 at.1 \
last.1 loadfont.1 loadkeys.1 logger.1 \
look.1 lp.1 lspci.1 mail.1 \
mesg.1 mixer.1 \
mkproto.1 mount.1 mt.1 nice.1 nohup.1 od.1 \
mkproto.1 mount.1 mt.1 nohup.1 od.1 \
paste.1 ping.1 playwave.1 pr.1 prep.1 \
profile.1 ps.1 rcp.1 recwave.1 \
remsync.1 rget.1 rlogin.1 rsh.1 rz.1 \
-26
View File
@@ -1,26 +0,0 @@
.TH NICE 1
.SH NAME
nice \- invoke command with higher or lower scheduling priority
.SH SYNOPSIS
\fBnice\fP [\fB\-n\fP increment] \fIutility\fP [\fIargument\fP...]
.SH DESCRIPTION
The
.B nice
utility runs \fIutility\fP at a different scheduling priority than
the default. The nicer the process is to others (the higher the
increment), the less favourable the scheduling is. Super-users
can give a negative increment, meaning scheduling is more favourable
than the default.
.SH OPTIONS
.TP
.B \-n \fIincrement
the increment value sets how nice the invoked command will be. 0 is
the same priority as regular processes. 10 is the default.
The range is -20 to 20.
.SH SEE ALSO
getpriority(2), setpriority(2)
.SH AUTHOR
This
.B nice
utility was imported from FreeBSD. This manual page was written
Ben Gras <beng@few.vu.nl>.