Question:

What command can be used to start a program with a lower scheduling priority?

by  |  earlier

0 LIKES UnLike

What command can be used to start a program with a lower scheduling priority?

 Tags:

   Report

2 ANSWERS


  1. nice

    EDIT: I'm not sure why someone gave a thumbs down, but if you're using Linux, "nice" allows you to run a program with a modified scheduling priority, e.g.:

    nice -n 10 foo

    The number is the "niceness", which ranges from -20 (most favorable scheduling) to 19 (least favorable).


  2. If your talking about windows your can use the "Start" command to launch a program in a lower priority.

    for example:

    Start /Low notepad will launch notepad with an idle priority.

    Start /BELOWNORMAL notepad will launch notepad with a priority one degree below normal.

    Different versions of windows allow for different switches so I would open a command prompt (cmd from the run line, you can press the windows key and "r" to open the run line) and type "start /?"

    hope this helps

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.