At 05:44 PM 9/30/02 -0500, Jim Reimer wrote:
>look at the man pages for 'nice' and 'top'
>
>-jdr-
>
>Paul Kraus wrote:
>>Is there a way to give a processes for cpu time? In nt you can set a
>>priority. Is there a way to see a list of processes based on the cpu
>>time they are using?

The other option (for the "list of processes" part of your question) is to 
use "ps" with appropriate options, then pipe the output through "sort", 
again with the appropriate options. As always, the appropriate man pages 
will supply the details I've left out.

Which option is more convenient depends on whether you want ongoing, 
real-time results of a snapshot saved to a file. "top" *can* do either, but 
I personally find "ps" piped to "sort" more convenient for redirecting to a 
file.


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski                                   -- Han Solo
Palo Alto, California, USA                        [EMAIL PROTECTED]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to