Skip to contentSkip to conversation

System Resource Management

DISCUSSION Paul Kraus 3 participants 4 messages Sep 30, 2002

lore
Share & tools
lore

Paul Kraus

author
#0 lore raw

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?

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

-
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

author
#1 lore raw

RE: System Resource Management (corrections)

Is there a way to see how much cpu time a process is using. Can I give one process more priority then another? Is there a way to see and sort the process list by how much cpu time the processes is using. -----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Kraus
Sent: Monday, September 30, 2002 6:26 PM
To: [email protected]
Subject: System Resource Management

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?

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

-
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

-
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

#2 lore raw
In reply to Paul Kraus

look at the man pages for 'nice' and 'top'

-jdr-

Quoted 10 lines · Paul Kraus

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?

Paul Kraus
Network Administrator
PEL Supply Company
216.267.5775 Voice
216-267-6176 Fax
www.pelsupply.com

-
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

#3 lore raw
Quoted 8 lines · Jim Reimer

look at the man pages for 'nice' and 'top'

-jdr-

Quoted 3 lines · Paul Kraus

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