How to properly identify real-time processes currently occupied CPU queue and count them using ps? I know there is a bunch of fileds like prio,rtprio,pri,nice but do not know correct to use. It seems I need use something like
ps -eo rtprio,prio,cpu,cmd --sort=+rtprio to get full list, but it do not seems for me right since a lot of processes got with
- sign at RTPRIO column. For example, I have 48 cores system running Oracle Linux and try to identify following questions:
- What processes occupied run queue? What's a count of them?
- How to identify processes that run in Real Time mode or with increased priority?