I've been porting some real-time programs from Solaris to Linux. I've re-implemented the necessary code to set scheduling classes and priorities (and made some assumptions for mapping the ranges for the different classes!).
What I'd really like to be able to do is check that the processes are running at the expected/set priorities using something like ps. But ps doesn't show the class and only shows priorities in terms of niceness (so I reckon what it is showing me at the moment is garbage - it certainly doesn't make sense!
Is there another tool like ps which will do this?
I will also eventually want an updating tool, like top or proctool (Solaris), so I can check the CPU performance of each process. I couldn't get procmeter to work, nor wmsysmon to install, if either of those are in fact suitable.
Thanks a lot for any and all help
Bee