LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-05-2010, 08:42 PM   #1
corone
Member
 
Registered: Jul 2009
Posts: 46

Rep: Reputation: 1
How can I know the priority of a kernel thread?


Hello,
How can I know the priority of a kernel thread?

How to check the priority of a kernel thread,
Please, let me know that.

I can know the priority of processes with the following command.
# ps -l
and I can check the kernel threads with the following command.
# ps -aux

But I cannot know the priority of kernel threads with the following command.
# ps -auxl

Last edited by corone; 10-05-2010 at 09:21 PM.
 
Old 10-05-2010, 09:48 PM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Try this:
Code:
# ps -eo user,pid,priority,command
 
Old 10-05-2010, 09:56 PM   #3
corone
Member
 
Registered: Jul 2009
Posts: 46

Original Poster
Rep: Reputation: 1
...

I think the following command solves this problem...
# ps -l PID
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the priority of process that contain multi-thread? aixilin Programming 5 10-04-2012 02:27 PM
how to configure linux kernel thread for dynamic priority kishor chalukkil Linux - Newbie 0 04-18-2009 01:37 PM
priority for kernel thread? VGM Programming 0 04-15-2009 11:31 PM
Regarding giving the priority to a thread navderm Programming 2 12-28-2008 11:32 PM
thread priority tornatom Programming 0 08-22-2005 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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