Re: How can I get the dynamic priority of each processes in the system?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seongsu Lee wrote:
Then, how can I obtain the dynamic priority of a process at certain moment?

use /proc/<pid>/stat... the related file you should check is fs/proc/array.c and looks for proc_pid_stat() function. I am sure you can do further research from this point :)

regards,

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux