nice and renice


 
Thread Tools Search this Thread
Operating Systems AIX nice and renice
# 1  
Old 07-23-2012
nice and renice

hello ,

We would like to increase the priority of the oracle process . Process(240001 ) should get the priority like the process(240103 ). Am not sure what value i should mention in the renice command(aix 6.1). Please assist me.

Code:
  
  240001 A   oracle 26804312        1   0  60 20 89fd69590 171720            Jul 19      -  0:27 ora_dbrm_wbubst1


240103 A   oracle  8650850        1   0  39 -- 8a6b6f590 193436            Jul 19      -  0:13 ora_lgwr_wbubst1

Thanks,
Gowtham.G
# 2  
Old 07-23-2012
nice is for starting processes with a different priority and renice is for altering it when a process is already running.
Have you man pages on your AIX system? I recommend to read up on those two commands. The man page also state which limits are possible. That wouldn't harm and should be the first resource for help to consider.
# 3  
Old 07-23-2012
From the output, I see PID 240103 has lower priority (39) than that of PID 240001 (60). The greater the priority, the lower the nice value. I think what you actually should want to be doing is to decease the priority by bumping up the nice value for PID 240001to match up PID 240103.

To calculate the exact value of nice for priority 39, you still need to see man pages.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

A nice YT video on A.I

Hello All, Just went through a nice YT video of A.I Age of A.I YT video See who is the host of this video :) if you are a Hollywood fan(a bit spoiler) I hope to learn something of it someday, technology is really growing day by day, cheers. Thanks, R. Singh (8 Replies)
Discussion started by: RavinderSingh13
8 Replies

2. Shell Programming and Scripting

Renice command with input argument as a file

Hi all could you help me how to give pids in a file as an argument to renice command. Thanks in Advance.. :) Pradeep (4 Replies)
Discussion started by: nanz143
4 Replies

3. Shell Programming and Scripting

Need a nice logic

Hi all, Given a scenario there is a folder and files will be coming into the folder at random time.The files that came in need to be mailed. And an important thing no file should be missed out as well as no file should be sent twice. One idea is that we can schedule a script that runs for... (2 Replies)
Discussion started by: kannangce
2 Replies

4. HP-UX

top and nice

Hi, I have two identical 12 CPU HPUX machines, and I run the same processes on each that load the boxes fully. top on one reports activity under the NICE (19%) and SYS (18%) columns, while top on the other reports 0% NICE and 16% SYS. What would cause NICE to be zero on one machine and not... (5 Replies)
Discussion started by: CBorgia
5 Replies

5. UNIX for Advanced & Expert Users

recursive nice value

Hi all, I have a running process that will spawn a large number of perl processes. How can I set that these all get spawned with a low priority nice value? I don't mind if all perl related processes take this level. Note, the executing script is compiled and can not be altered at a code... (1 Reply)
Discussion started by: nhatch
1 Replies

6. Programming

nice command and nice() system call

Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies

7. UNIX for Dummies Questions & Answers

Renice job

Hi everyone, I am working on a server that there is a rule to renice your jobs if they exceed 1 hour of running. I wrote a script that calls a program that runs for some thousand times. When I do 'top' I can see in the processes the program running but not the name of my script that I run... (1 Reply)
Discussion started by: Farsinos
1 Replies

8. UNIX for Dummies Questions & Answers

Please Help Me With This Nice And Renice Stuff

i read a book about this a couple of times and i still find it confusing. they talking about when you increase a priority number, that decreases nice number. I really dont understand this. I'm working on a solaris and linux red hat 7.2 system. if anyone can explain this stuff to me in... (3 Replies)
Discussion started by: TRUEST
3 Replies

9. Post Here to Contact Site Administrators and Moderators

Very Nice

Just a quick message to say great work to Neo and any others who have helped with the upgrade - the layout, appearance and functionality of this forum ROCKS. By far the best I have seen. Excellent! (1 Reply)
Discussion started by: alwayslearningunix
1 Replies
Login or Register to Ask a Question