LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2011, 12:39 AM   #1
NixGuy
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Rep: Reputation: 0
Linux equivalent for priocntl


I am currently porting a Perl script which makes use of the Solaris command priocntl to Linux.Is there any equivalent command for priocntl in linux ?

Is it possible to achieve the priocntl functionality in linux using nice command?
If yes, how?

Priocntl command in Solaris is used to set and get scheduling parameters of specified processes.

I 'm using Fedora9.

Thanks in advance.
 
Old 01-05-2011, 07:44 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 110Reputation: 110
nice, taskset, chrt, ionice are all commands you can use to change scheduling policy for a particular task.
 
Old 01-05-2011, 10:31 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
BTW, F9 is way out of date & unsupported. Either go with F14 or use Centos (free version of RHEL; much longer lifespan than Fedora).
 
Old 01-05-2011, 10:59 PM   #4
NixGuy
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the replies.
I think I can use renice command to set the priority to a process.
This static,dynamic,real-time,non-real-time priority ranges confuse me.Could someone tell me how do I make a process as a maximum priority process in linux.
Is it renice 99 $$ or renice -20 $$.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux equivalent of COM? mrtedweb Programming 17 05-19-2009 01:59 PM
priocntl, nice and renice linuxtesting2 Solaris / OpenSolaris 2 06-09-2006 02:39 PM
ExitWindowsEx equivalent in LINUX eating Programming 6 01-23-2006 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration