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

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -