Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

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

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
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

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

Original Poster
Rep: Reputation: 1

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


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 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

All times are GMT -5. The time now is 04:55 PM.

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