Hello, You know a process has two kinds of priority, static and dynamic priority. The static priority can be obtained by a system call, getpriority(). Then, how can I obtain the dynamic priority of a process at certain moment? -- Seongsu's blog - http://www.senux.com/ "...[Linux's] capacity to talk via any medium except smoke signals." (By Dr. Greg Wettstein, Roger Maris Cancer Center) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/