![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| top and nice | CBorgia | HP-UX | 5 | 02-04-2008 02:16 PM |
| The nice command | aladdin | UNIX for Dummies Questions & Answers | 1 | 02-06-2007 06:37 AM |
| is ‘nice’ command useful on a multi-CPU UNIX system? | xoxouu | UNIX for Dummies Questions & Answers | 1 | 02-03-2006 12:33 AM |
| process nice level command line vs cron | henrydark | UNIX for Advanced & Expert Users | 0 | 06-02-2005 10:04 PM |
| nice (user command) | sivan | UNIX for Dummies Questions & Answers | 5 | 08-27-2003 02:41 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 execution call nice() first to adjust its priority?
eg nice 5 cp x y makes cp increment its priority by 5 how can I make the execution of cp call nice() ? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|