Comment 2 for bug 867918

Revision history for this message
Derek_ (derek-name) wrote :

Currently the data from %SS is a mixture varying substantially in freshness, since it takes several seconds to run. The data for first process that it checked is several seconds old by the time you get it. With the change I'm suggesting, stale data would still be possible, but much less likely. The set of running PIDs, for example, would be very accurate for what is running at the time of the call, unlike the current %SS. If you really need to know accurately what routine a process is in at a very particular point in time, then you wouldn't be able to use the current %SS for that either.

I agree that calling it for specific PID would be a great feature, and that would give you instant and accurate information.