LinuxQuestions.org
Review your favorite Linux distribution.
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, 01: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, 08:44 AM   #2
orgcandman
Member
 
Registered: May 2002
Location: new hampshire
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
nice, taskset, chrt, ionice are all commands you can use to change scheduling policy for a particular task.
 
Old 01-05-2011, 11:31 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,817

Rep: Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554Reputation: 2554
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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:59 PM
priocntl, nice and renice linuxtesting2 Solaris / OpenSolaris 2 06-09-2006 03:39 PM
ExitWindowsEx equivalent in LINUX eating Programming 6 01-23-2006 08:57 AM

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

All times are GMT -5. The time now is 08: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