niceness of processes...


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users niceness of processes...
# 1  
Old 11-04-2004
Error niceness of processes...

i am on a fedora 2 (2.6.8-1.521) kernel i686
and i have several process that I keep open at all times when the system is on and off and a few more when the system is on.. amongst which are three terminals that always log in with 6 open windows on the first terminal, three on the second terminal and emacs on the third terminal and the odd xterm.. also I keep my xmms an d noatun apps open.. according to a book by paul sheer Rute Expo the niceness of certain processes can take up cpu time on the system and slow down the overall process time... my first question is:
if I keep all my processes open as usual and renice them to +19 or so would that make my system more efficient and faster since it has slowed down a little.. and also how would i go about renicing them.. I have read the technical part but did not comprehend the verbatim very well..
any feed back welcome
thanx moxxx68
ps mozilla is running too 80% of the time
# 2  
Old 11-04-2004
If your system is cpu-bound (look in /proc for cpu information)
then lowering priority will help - if those processes actually use cpu.

Usually systems slow down gradaully because of disk issues, issues like fragmentation or low free disk space. The other issue here can be real-time processes - these processes don't play fair when it comes to sharing the cpu. They hog it. If you have added real-time processes, like some types of packet sniffers running all the time, then you may have this problem.

Low free memory is another thing to check. Pagefile activity may be hgh in this case.

Basically you have to gather lots of system data, before you start guessing and randomly changing things that may not need changing.
# 3  
Old 11-05-2004
thanx for the feedback
moxxx68Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

processes

may i know a command to find processes not attached to a terminal?? (1 Reply)
Discussion started by: riya9
1 Replies

2. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

3. UNIX for Dummies Questions & Answers

Processes

Hi all, I needed a little help. It's OS thing. Suppose I have 2 machine connect over a network, I will call my machines as M1and M2. If I copy a files from M1 to M2. What tasks are these two machine performing for copy to work. My assumption is that M1 is performing read action and... (1 Reply)
Discussion started by: vishwesh
1 Replies

4. Solaris

Identifying and grouping OS processes and APP processes

Hi Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages. Any free tools or scripts to do this? Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies

5. UNIX for Advanced & Expert Users

Monitoring Processes - Killing hung processes

Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go? Thank you Richard (4 Replies)
Discussion started by: ukndoit
4 Replies

6. Shell Programming and Scripting

Processes

I have a file like this. No. State Query Times User Processed Syslog 1 ready idle 973s 0 /Application/ugsvols/bldata01/logs/imanscript1562.syslog 2 ready idle 803s 83997 13 /Application/ugsvols/bldata01/logs/imanscript1542.syslog 3 ready idle 2954s 106641... (17 Replies)
Discussion started by: Krrishv
17 Replies

7. UNIX for Dummies Questions & Answers

Processes

Can someone tell how to find out how long a process has been running? I want to find something that is usually there that the paging system can check on. Thanks (4 Replies)
Discussion started by: Beetlejuice
4 Replies

8. Shell Programming and Scripting

I need some example of Co-Processes

I want to know how to work the Co-Processes in kornshell scripts. So, I very need some script about Co-Processes! thanks ...:) (3 Replies)
Discussion started by: javalee
3 Replies

9. UNIX for Dummies Questions & Answers

processes

What command string will locate ONLY the PID of a process and ouput only the number of PID of the process? (1 Reply)
Discussion started by: mma_buc_98
1 Replies

10. UNIX for Dummies Questions & Answers

co-processes

Is it possible to have a main script (i will call it main.ksh) that executes say, 4 other scripts (sub_prog_1.ksh, sub_prog_2.ksh etc..) from within this main.ksh (simultaneously/in parallel), have them run in the background and communicate back to main.ksh when complete? My guess is to use... (1 Reply)
Discussion started by: google
1 Replies
Login or Register to Ask a Question