Sponsored Content
Full Discussion: priority for process
Operating Systems AIX priority for process Post 302314251 by senmak on Thursday 7th of May 2009 10:05:49 PM
Old 05-07-2009
thank u very much my friend
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Backgrounding process with higher priority

I have been troubleshooting a mysterious performance problem with the nightly batch programs on our primary system for quite some time and just found something very interesting. All batch processes are running with a nice value of 24. I don't know what the default is on other systems but I do know... (3 Replies)
Discussion started by: keelba
3 Replies

2. UNIX for Advanced & Expert Users

Increasing priority of a process

Hi! Experts, Is there anyway to incerase the priority of a process which is already started and running??.. I think nice can used for increase priority when we start the process.. But donno how to do when its already running.. Any help would be apreciated.. Jyoti (2 Replies)
Discussion started by: jyotipg
2 Replies

3. HP-UX

urgent help required on changing process priority using nice

Hi folks, Hope you can help me. I have a process that is currently running at nice 20 and need it to run faster (-10?). How do I change the process using nice? I have the process number and thought it would be along the lines of; nice -10 process_id but it doesn't seem to like that. (1 Reply)
Discussion started by: gshuttleworth
1 Replies

4. Solaris

start a process with the highest priority

hello, I have a process lauched by non-root user. how to lauch this process with a very high priority? I know this has to do with nice command but how to allow a user to lauch his process with a very high priority and without ROOT intervention? PS: this process is always lauched from a... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

5. UNIX for Dummies Questions & Answers

how to Decrease priority of a particular process in time of process creation

how to decrease priority of a particular process in time of process creation... and also how to decrease priority of a particular process after process creation.. can any one please help me out... (2 Replies)
Discussion started by: Ramkum
2 Replies

6. Programming

kill priority

hello everybody! i would like to post a question. If i embed in my C code the command kill(9,pid) inside an if command. Is this command(kill) executed in any way. Both if the if is true and false. Does kill have greater priority than the if command. thanx in advance! (5 Replies)
Discussion started by: nicos
5 Replies

7. AIX

Adjust disk scheduling priority for a process?

Hi all! Some dumb administrator run the weekly backup "by hand" on our AIX 5.3 server, which we use to deploy Websphere applications, during work hours. Using the server while the backup is taking place is almost imposible. Both the disks are working at 100% and it's almost unusable. Asking the... (2 Replies)
Discussion started by: shandrio
2 Replies

8. Red Hat

DNS priority

Hi All, Is this correct on DNS searching? (1st priority) /etc/hosts (2nd p.) /etc/resolv.conf Are there more things that I didn't know? Thank you for any comments you may add. (5 Replies)
Discussion started by: itik
5 Replies

9. Red Hat

The priority of the log

Hi, I can't find the priority in my logs, which under the catalogue of /var/log/lmessages. For example, if the log below occur on my machine, there is no <30>. What should I do if I want to see <30> . <30>Oct 9 22:33:20 hlfedora auditd: The audit daemon is exiting. (0 Replies)
Discussion started by: zhaoyy
0 Replies
renice(8)						      System Manager's Manual							 renice(8)

Name
       renice - alter priority of running processes

Syntax
       /etc/renice priority [ [ -p ] pid ... ] [ [ -g ] pgrp ... ] [ [ -u ] user ... ]

Description
       The  command  alters the scheduling priority of one or more running processes.  The who parameters are interpreted as process ID's, process
       group ID's, or user names.  Using on a process group causes all processes in the process group to have their scheduling	priority  altered.
       Using on a user causes all processes owned by the user to have their scheduling priority altered.  By default, the processes to be affected
       are specified by their process ID's.

Options
       To force who parameters to be interpreted as process group ID's, a may be specified.  To force the who parameters to be interpreted as user
       names, a may be given.  Supplying will reset who interpretation to be (the default) process ID's.

       Users  other than the superuser may only alter the priority of processes they own, and can only monotonically increase their ``nice value''
       within the range 0 to PRIO_MIN (20).  (This prevents overriding administrative fiats.)  The superuser can alter the priority of any process
       and set the priority to any value in the range PRIO_MAX (-20) to PRIO_MIN.  Useful priorities are: 19 (the affected processes will run only
       when nothing else in the system wants to), 0 (the ``base'' scheduling priority), anything negative (to make things go very fast).

Examples
       The following command changes the priority of process ID's 987 and 32, and all processes owned by users daemon and root:
       /etc/renice +1 987 -u daemon root -p 32

Restrictions
       If you make the priority very negative, then the process cannot be interrupted.	To regain control you make the priority greater than zero.
       Non-superusers  cannot  increase  scheduling priorities of their own processes, even if they were the ones that decreased the priorities in
       the first place.

Files
       Maps user names to user IDs

See Also
       getpriority(2), setpriority(2)

																	 renice(8)
All times are GMT -4. The time now is 05:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy