November 1998
Beginner
368 pages
7h 58m
English
Suppose you need an enormous file from the Internet that would take practically all afternoon to download. By downloading it, you would hog system resources and make the system response time much slower for other users. OK, bad example. Suppose your coworker needs to download an enormous file and would hog system resources all afternoon. You'd hope that she'd have the courtesy to not tie up system resources that you need to use.
Fortunately, she can, using nice, which lets her control job priority. As Code Listing 9.8 shows, you rank your job's priority using numbers from 1 to 19, with 1 being somewhat nice and 19 being fabulously nice. The UNIX system uses the number you provide to determine how much attention ...
Read now
Unlock full access