How to Set Process Priority in Linux
1. Introduction The previous article discussed how to check process priority; this one explains how to set process priority. There are two methods for setting process priority: Command line; Source code; 2. Command Line Method main.c: #include <stdio.h> int main(int argc, char *argv[]) { while(1) { ; } return 0; } Compile: gcc -o proc-pri … Read more