Hi,
I'm using the linux /proc//stat file to generate cpu usage information for an application. The issue that I have run into is that on Fedora 13 things seem to act strangely whlie on ubuntu 10.04 things behave as I expect them to.
Specifically:
on fedora the application logs more process system time by a ratio of 3:1
on ubuntu the application logs more process user time by a ratio of 4:1
on fedora the process user time value stops incrementing after a short while and never continues.
This seems very strange to me and the fact that user time stops incrementing at all seems like an outright bug.
I have also tried reading the values in a couple of different ways all with the same result, and I have conducted a test to confirm that the user and system times aren't transposed.
Can anyone shed some light on what might be happening? Is there any valid way that process user time would stop incrementing for a process?