Oscar,
A positive value is a LOWER priority. Right from the man page:
man nice:
Run COMMAND with an adjusted scheduling priority. With no
COMMAND, print the current scheduling priority. ADJUST is
10 by default. Range goes from -20 (highest priority) to
19 (lowest).
man renice:
Users other than the super-user may only alter the priority of processes
they own, and can only monotonically increase their ``nice value''
within
the range 0 to PRIO_MAX (20). (This prevents overriding administrative
fiats.) The super-user may alter the priority of any process and set
the
priority to any value in the range PRIO_MIN (-20) to PRIO_MAX. Useful
priorities are: 20 (the affected processes will run only when nothing
else in the system wants to), 0 (the ``base'' scheduling priority),
any-
thing negative (to make things go very fast).
So using a NEGATIVE value increase the priority. Using a POSITIVE value
will decrease the priority.
Cheers,
James
----- Original Message -----
From: "Oscar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 4:57 AM
Subject: Re: [hlds_linux] Increase priority of hlds??
> Most people recommend that you don't change the priority for hl, but what
> might help is to put a positive nice value on your grep/zip command.
>
> Type "man renice", pretty good documentation...
>
> /Oscar, www.bhood.nu
>
>
> Quoting Mike Hodgkinson <[EMAIL PROTECTED]>:
>
> > This is a multi-part message in MIME format.
> > --
> > [ Picked text/plain from multipart/alternative ]
> > Just wondering if its worth nice'ing hlds higher because each time I do
a
> > grep on my large log files or zip them all up it causes lag on the
> servers?
> > Any ideas?
> > --
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please
> > visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
>
>
> /Mvh Oscar
>
> ------------------------------------
> This mail was sent from www.bhood.nu
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux