List of threads and their priorities!

Hello!

I need to know what are the threads running on my system and their
priorities.

For that purpose, I use the ‘ps’ command :
ps -o comm,nice

In fact, the ‘nice’ option gives me what is called ‘process priority’.
I would like to know if ‘process priority’ stands for ‘main thread’s
priority of the process’ or ‘the highest thread’s priority of the process’ ?

If this is not the ‘highest thread’s priority of the process’, how can I do
to obtain it?

Thanks

Vincent.

Vincent <vincent.catros_NO_SPAM_@bigfoot.com> wrote:

Hello!

I need to know what are the threads running on my system and their
priorities.

Assuming you’re talking about QNX6 (RTP/Neutrino), then you might
want to try the pidin command instead of ps – it will list all the
threads for a process, and their individual priorities (and states).

-David

QNX Training Services
dagibbs@qnx.com