[2.1 SUP]

Attepmt to implement
-- have a "show me my process" page

There is no separate page or tab for user's processes, everything is
shown on 'Overview' tab. The solution is to have in all_processes/all_power 
only processes with owner's ruid matched to the given one by user 
(via 'u' switch).

For now we have too big measurement sleep interval, under some kind of 
loads huge number of processes are gone by the time we initiate corresponding 
event processing. This leads to a fact, that /proc/PID/* files can't be 
read when we create a process, so we can't find owner's ruid (/proc/PID/status).
In such a situation (with uid filtering enabled) the only sane (to my mind) 
solution is to consider such 'orphan' processes being illegal and not let them 
get into statistics (all_power).

In order to have more relevant statistics we also should let user set
measurement timer (like top does via '-s').

Also available at
git://github.com/sergey-senozhatsky/powertop2-ss.git -b 2.1-processes-by-uid
_______________________________________________
Discuss mailing list
Discuss@lesswatts.org
http://lists.lesswatts.org/listinfo/discuss

Reply via email to