← Back to team overview

ubuntu-phone team mailing list archive

Re: Galaxy Nexus running Ubuntu Touch has a higher temperature than when running Android OS

 

On 02/27/2013 01:13 PM, Michael Zanetti wrote:
> On Wednesday 27 February 2013 18:37:41 Michał Sawicz wrote:
>> W dniu 27.02.2013 16:32, Michael Zanetti pisze:
>>> Now you can run top inside ubuntu and see if anything goes crazy.
>>
>> Except that due to a different process namespace in the chroot top
>> won't work...
>>
>> You need to install ssh on the device and ssh into it to get the
>> correct namespace and top will work, then.
>>
> 
> Michał is right that the Android side and Ubuntu side use different PIDs. 
> However, just to see CPU consumption that shouldn't make a difference.

top won't run without /proc mounted.

> Nevertheless installing openssh to the device is a good idea :)
> 
> (PS. remounting /proc inside the ubuntu_chroot seems to make things work as 
> well)

Sure that works, but you just have to be careful as you're mounting it
from the Android PID namespace, so it includes all of the processes on
the system as opposed to the Ubuntu processes only.

/tony





References