On Thu, Jun 3, 2010 at 5:27 PM, Kolja Nowak <[email protected]> wrote:
> Maybe ps always shows current
> user but iotop only shows the initial user?

Here's how iotop does it:

http://repo.or.cz/w/iotop.git/blob/HEAD:/iotop/data.py#l221 (get_uid()
function), basically it looks at the owner of /proc/PID.
I don't know what ps uses.


-- 
Guillaume



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to