The Haiku/BeOS Tip Server
Tips and tricks for Haiku/BeOS users

Changing priorities

Contributed by: Scot Hacker
This tip is valid for: Both BeOS and Haiku

Concurrently running applications vie for attention from the processor in accordance with their priority level, as managed by the system’s scheduler. If for some reason you want to increase or decrease the priority of a given application, use:

prio thread_id priority

To see the current priority level of any given thread, run ps. Thread IDs are listed in the first column, priorities are listed in the fourth column.

Posted in Miscellaneous

(comments are closed).