linux - Get process's timeslice in user mode -
how can value of process's timeslice in user mode? designed new scheduling policy, , want check if processes same policy (my policy) have same timeslice run. not real-time process.
you can see in
/proc/<pid>/stat
14th , 15th fields represent utime , stime respectively. utime time spent in user mode while stime represents time spent process in kernel mode.
Comments
Post a Comment