>_ IzzyLab

Topic breakdown

The CPU scheduler distributes processor time among processes, and you can influence that distribution through the nice value — a process's "willingness to yield". The range goes from -20 (most aggressive, high priority) to 19 (most polite, low priority); the higher the number, the more readily the process yields the CPU to others. The nice utility with the -n flag lets you launch a command at a given level. When launched in the background (&), the PID of the just-started process is in the $! variable — that's what you save. You can check the resulting nice value with ps -o ni=.

What's checked

  1. process launched with nice 10

What it looks like