[SLO-TIME] ntp izboljšave

Tine Gornik tine.gornik at triera.net
Sun Dec 12 03:43:43 CET 2004


Razmišljaj sem kako bi izboljšal ntp odzivnost in našel sem to komando v
linux-u:

NAME

nice - run a program with modified scheduling priority   

SYNOPSIS

nice [OPTION] [COMMAND [ARG]...]   

DESCRIPTION


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). 


-n, --adjustment=ADJUST 

increment priority by ADJUST first 

--help 

display this help and exit 

--version 

output version information and exit 

 
Torej če zaženemo ntpd z nice prioriteto na -20 bo tekel ntpd v najvišji
prioriteti in z tem imel na voljo največ procesorskega časa.
Primer:
nice -n -20 ntpd -c /etc/ntp.conf -l /var/l
 
-Tine Gornik
E-Mail:
tine.gornik at triera.net
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ijs.si/pipermail/slo-time/attachments/20041212/84fd6923/attachment.html


More information about the slo-time mailing list