GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Default NICE value to particular user
Operating System - HP-UX
1851502
Members
3130
Online
104059
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-29-2006 08:00 PM
11-29-2006 08:00 PM
Default NICE value to particular user
Hi,
A have special user which use to running batch, currently we looking for if we can set it's NICE value to say 10 for every command it run once login?
Regards,
Thomas
A have special user which use to running batch, currently we looking for if we can set it's NICE value to say 10 for every command it run once login?
Regards,
Thomas
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2006 08:11 PM
11-29-2006 08:11 PM
Re: Default NICE value to particular user
I don't know of any direct way.
I suppose you could change that user's .profile to detect it is the login shell and then create a subshell with nice:
nice -10 ksh
That wouldn't work for cron or at jobs.
If you use at(1) or batch(1) you can put it in a queue and set a nice value. queuedefs(4)
Of course you can use renice to make it lower.
I suppose you could change that user's .profile to detect it is the login shell and then create a subshell with nice:
nice -10 ksh
That wouldn't work for cron or at jobs.
If you use at(1) or batch(1) you can put it in a queue and set a nice value. queuedefs(4)
Of course you can use renice to make it lower.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP