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) -

Pull out data related to my apps from Android Play Store and iOS App Store -

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