- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to increase the priority of a process (higher ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 03:34 AM
10-12-2006 03:34 AM
How to increase the priority of a process (higher priority)
I'd like to increase the priorit. I already used renice because Processes with lower system nice values run at higher system priorities than processes with higher system nice values.
But, when I do a ps -elf|grep imp|grep -v grep, I see that 154 as PRI and 8 as NICE. 8 for the NI is good, but not 154. I need to run these imp processes at a higher priority.
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 04:06 AM
10-12-2006 04:06 AM
Re: How to increase the priority of a process (higher priority)
You can check using "glance".
Also check man nice
The difference between the system nice value
(relative priority) of the current (or parent)
process and the actual system nice value at which
command is to run.
An unsigned value increases the system nice value
for command, causing it to run at lower priority.
A negative value requires superuser privileges,
and assigns a lower system nice value (higher
priority) to command. If the current process is
not privileged, the value is silently treated as
if it were 0.
If the value of priority_change would result in a
system nice value outside the range 0 through 39,
the corresponding limit value of 0 or 39 is used
instead.
Note that a positive priority_change (lower
priority) has a single - option character before
the numeric value; a negative (higher priority)
priority_change has two: the option character
followed by the minus sign (--). If -
priority_change is not specified, it defaults to
10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 04:15 AM
10-12-2006 04:15 AM
Re: How to increase the priority of a process (higher priority)
And also, when I a ps -elf, it shows the right NICE value but the PRI value remains the same as it was before. How to increase the PRI?
Thanks!
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 04:33 AM
10-12-2006 04:33 AM
Re: How to increase the priority of a process (higher priority)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 04:37 AM
10-12-2006 04:37 AM
Re: How to increase the priority of a process (higher priority)
From man page for nice:
......
A negative value requires superuser privileges,
and assigns a lower system nice value (higher
priority) to command. If the current process is
not privileged, the value is silently treated as
if it were 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 04:59 AM
10-12-2006 04:59 AM
Re: How to increase the priority of a process (higher priority)
How is this different from renice command? What is a real-time priority and how is it any different from a non real-time priority?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2006 05:04 AM
10-12-2006 05:04 AM
Re: How to increase the priority of a process (higher priority)
The PRM and WLM product will be useful as it manages all the resources, not just CPU time.
Bill Hassell, sysadmin