These are interchangeable commands. Each process has a specific priority value. These commands are exchangeable, and each trial has a certain priority, from -20 to 19, where the highest priority is set to the process and has the lowest value of -20. When you use the renice instruction, you reassign priority to a process. You can read more about checking running processes in Linux https://www.hostforweb.com/article/how-check-running-processes-linux/ here. I have not done any work with Linux for a long time, but this article can help you get up to speed.
2 Likes