Explanation of /proc/sched_debug
Hi, I'm developing a process management application, and for particular reasons I'm looking into /proc/sched_debug at the moment. Unfortunately, I can't find documentation about this file anywhere, so I have a couple of questions if anyone can help:
Thanks for your time, I hope to receive some useful insight. |
I doubt that you can get that degree of useful-detail from such a source ... and here is why: whatever results you get will be those of "that particular instant," not plus-or-minus one microsecond later. Perhaps you could tell us more about what your "process management application" needs to do, and to report? Tell us all where you're coming from and where you need to go.
|
Quote:
I'm looking into this file as a possible simpler solution. If I could instead read this file at short intervals (1 second?), and read from it which PIDs were physically executing at the particular instant the file is generated, that should suffice. I just can't find information as to exactly what the relevant contents of the file indicate. |
I had a look at this some time back - just looking for some light reading whilst watching some footy on television .... :p
Basically you'll have to trawl through lkml, and after that you'll discover the attitude seems to be - "read the source". There is damn-all doco on it, and Ingo doesn't seem the least bit interested in changing the situation. |
I feared as much, maybe I'll just have to search through the scheduler source to find mention of the file, and hopefully then comprehend how it works.
|
All times are GMT -5. The time now is 01:39 AM. |