[OVAL DEVELOPER] Clarification about priority entity

Darren J Moffat Darren.Moffat at Oracle.COM
Thu Apr 14 12:39:05 EDT 2016

On 04/14/16 17:22, David Solin wrote:
> Indeed, Darren — what do you think an OVAL interpreter should collect for the unix-sc:process_item/priority?

For Solaris it should collect the priority field from ps(1):


       The priority of the process. Without the -c option, higher numbers
       mean lower priority. With the -c option, higher numbers mean
       higher priority.

If the interpreter is actually using the proc file system rather than 
running the ps command then it should look at the pr_pri field of the 
lwps_info_t structure for the process.

Darren J Moffat


More information about the OVAL_Developer mailing list