.th proc_stat_block IIa 4/21/86
.sh NAME
proc_stat_block \- process status block
.sh SYNOPSIS
.nf
 proc_stat_block = RECORD 

       own     : seid;      
       parent  : seid;      
       family  : cardinal;  

       owner   : cardinal;  
       group   : cardinal;  

       aprio   : cardinal;  
       pseint  : cardinal;  
       ps      : cardinal;  

       alarm   : cardinal;  
       clock   : cardinal32;
       tt      : boolean;   

       stiming : cardinal;  
       utiming : cardinal   
 END;
.fi
.sh DESCRIPTION
This record contains process dependent information.
.s3
A field with an asterisk by its name is a read only variable.
.s3
.lp 18 12
.In *own
is the seid of the process associated with this status block.
.s3
.lp 18 12
.In *parent
is the seid of the process which created the
process, named by
own
.s3
.lp 18 12
.In family
is the family name controlled by the NKSR.
This field may only be set
by processes with the privilege
privSetLevel.
.s3
.lp 18 12
.In owner
is the real user identifier.
This field may only be set
by processes with the privilege
privSetLevel.
.s3
.lp 18 12
.In group
is the real group identifier.
This field may only be set
by processes with the privilege
privSetLevel.
.s3
.lp 18 12
.In aprio
is the advisory priority of the process.
A process in user domain can set this
field between 0 and 63.
A process in supervisor domain can set this
field between 0 and 127.
A process with
privSetLevel
can set this field between 0 and 255.
Priority O is the lowest priority.
.s3
.lp 18 12
.In pseint
is the current pseudo-interrupt level of the
process.
.s3
.lp 18 12
.In ps
is the processor status word of the
process.
.s3
.lp 18 12
.In alarm
is the value of the real-time timer alarm in clock ticks.
Setting this field activates the real-time timer which will
generate a timer pseudo-interrupt.
Setting this field to zero cancels the alarm.
.s3
.lp 18 12
.In clock
is the value of the time of day clock in clock ticks.
This field is read-only except for the Initial Process.
.s3
.lp 18 12
.In tt
is the timer toggle clock.
Setting this field to true
causes a timer toggle pseudo-interrupt on every clock tick.
.s3
.lp 18 12
.In *stiming
is the amount of time spent in the supervisor domain in clock ticks.
.s3
.lp 18 12
.In *utiming
is the amount of time spent in the user domain in clock ticks.
.i0

.sh "SEE ALSO"
priv_struct (IIa),
seid (IIa)
tii_struct (IIa),
K_get_process_status (II),
K_set_process_status (II)
