What `nice` does is modify the scheduling priority for a process. This
makes it take a lower priority than other processes, so it's first to give
up resources when something else needs it (it's how you can run RC5 all of
the time, yet have RC5 get out of the way when Netscape devours your
CPU). What your first command line does is give all of the make processes
the same priority (since you aren't specifying them). This starts all of
the make processes and they all are on equal ground for getting CPU time
(they are lower than every other process though). The second command
makes the bzImage compile get out of the way while you make the modules
and then install them. They'll all get you to the same place.
`top` is the utility that you want to see what priority the processes are
and the sizes they consume in memory, CPU usage, etc. It's an interactive
command, and it's the best way to find that wily user eating your CPU with
his perl process quickly (processes are sorted in order of CPU usage).
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
322 gashalot 15 0 8052 8052 2888 S 0 1.9 6.2 0:12 xchat
512 gashalot 17 0 1256 1252 704 R 0 0.9 0.9 0:00 top
Above is a few lines of the top 2 processes eating my CPU when I was
typing this Email, as you can see it gives you a number of useful
features (pid, user who owns process, priority, nice level, cpu %, memory
%, and the command running among other things).
-Robert
On Thu, 20 Jan 2000, Ben Phillips wrote:
> Does:
>
> 'nice make bzImage && nice make modules && nice make modules_install'
>
> do the same thing as:
>
> 'nice make bzImage && make modules && make modules_install'
>
> And how would I know what priority these things are running at anyway? Is
> there a utility like 'time' only that spits out priorities?
>
>
> __ _ "The mess is so big
> Ben Phillips / '_' ) ,,, And so deep and so tall
> ">pynk@cc.gatech.edu | | ()|||||||||[:::) There's no way to fix it.
> \__.-._) ''' There's no way at all."
> -- Dr. Seuss
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
>
--
.----------------- PGP Key: `finger ">gashalot@gashalot.com` -----------------.
| Robert Gash | Work - ">gashalot@fasturl.net |
| Senior Systems Administrator | Personal - ">gashalot@gashalot.com |
| VenerNet Inc -- www.fasturl.net | http://www.gashalot.com |
`---- PGP Key Fprint: E6F3 CACA 9245 786B 7734 2853 D2C7 31D7 80FE 3B51 ----'
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.