164k views
0 votes
True or False: Once you start a process, there is no way to change its niceness level except for stopping it and restarting it with the nice command.

1 Answer

3 votes

Final answer:

The statement is false; the 'renice' command can be used to change the niceness level of a running process without restarting it.

Step-by-step explanation:

The statement is False.

Once a process is started in a UNIX-like operating system, you can change its niceness level without stopping it. The command used to change the priority of a running process is 'renice'. The 'renice' command allows you to alter the niceness value of one or more running processes. The niceness level ranges from -20 (most favorable scheduling) to 19 (least favorable). Only the root user or a process with the necessary privileges can increase the priority (i.e., decrease the niceness value), while decreasing the priority can be done by the process owner without special privileges.

User RyanFrost
by
7.7k points