Re: Fwd: What priority this app running?

2007-12-20 Thread Norberto Meijome
On Thu, 20 Dec 2007 13:07:44 -0500
C High [EMAIL PROTECTED] wrote:

 With nice, 20 is the lowest priority, 0 is the base, and -20 is the highest.

that's right - it is because with nice you tell it 'how nice to be'. when you
ask a process to have a level 20 of niceness, it will be VERY nice and the
kernel will let other processes in front of it. If you say, this process will
have a negative value of niceness, it isn't very nice at all ;)

_
{Beto|Norberto|Numard} Meijome

We've been wrong so many times before, why stop now?

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: What priority this app running?

2007-12-20 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Norberto Meijome wrote:
 On Thu, 20 Dec 2007 13:07:44 -0500 C High [EMAIL PROTECTED]
 wrote:

 With nice, 20 is the lowest priority, 0 is the base, and -20 is
 the highest.

 that's right - it is because with nice you tell it 'how nice to
 be'. when you ask a process to have a level 20 of niceness, it will
 be VERY nice and the kernel will let other processes in front of
 it. If you say, this process will have a negative value of
 niceness, it isn't very nice at all ;)

I think the kernel it self (this is based on 43BSD) has a niceness of -25.

- --
Aryeh M. Friedman
FloSoft Systems
http://www.flosoft-systems.com
Developer, not business, friendly
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHazRtzIOMjAek4JIRAtAlAJ4xgwq25KBQ9GAJF4XDr2JbNlXLGgCfa+mP
xr40CG6NrQFBl7GyyWvfbac=
=WRMK
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]