HOMESOFTWARE
 CATALOG
MAEMO
DOWNLOADS
REVIEWSFAQ & TIPSTECH SPECSSOFTWARE SHOPFORUMCONTACT


Maemo 5: FAQ & Tips

  S60 3rd Edition section
Home / Latest News
Technical specifications
Software Catalog
Maemo Downloads
FAQ & Tips
Reviews
Discussion Forum
  Categories

10 latest entries


Available categories


Total: 35 entries
  Search

Search for entry:


Top in XTerm - information running processes and memory/CPU usage





Sometimes it is very useful to know what's going on on your device: what is the current CPU or memory usage, which processes or applications are running and how much resources each of them consumes. This way you can e.g. locate what's causing that your phone's performance has gotten worse or that the battery does not last as long as it used to.

The N900 has a very useful X-Terminal based command to show all of the above data. And to make it simpler and quicker to launch, we can also make it available via the menu accessible by pressing the Power button. After applying this modification, new "Top in XTerm" button will be added to that menu letting you get the information about CPU/memory consumption and running processes with just one tap.

All you need to do is to edit one config file and "uncomment" its part responsible for showing the button, disabled by default.

In order to do this, you will to:
    Download and install rootsh from the Extras repository, which will give you root access in the X-Terminal
  • Download and install Midnight Commander, the well known file manager which also contains a convenient text editor.


Now the actual modification:
    Launch X-Terminal
  • type sudo gainroot to enable root access
  • type mc to launch Midnight Commander
  • in the Midnight Commander, using the keyboard arrows, browse to the /ect/systemui/ folder and select the systemui.xml file
  • make a copy of that file, just in case that you do something wrong, so that you can simply restore its original version anytime


  • tap the 4 Edit button (at the bottom) to open the text editor
  • at the bottom of the file you will notice that part of it (consisting of three ... entries) is disabled within the "comment" marks (starting ).
  • move the "comment" marks mentioned above (e.g. by deleting and re-typing them in other place) so that the "Soft poweroff" entry is still within them (as it doesn't seem to work correctly) but the "Top in XTerm" entry gets outside of them. You may also enable the "Reboot" entry at the same time, described here.


  • tap 10 Quit button at the bottom of the editor and confirm in the requester that you want to save the file (if you don't see the 10 Quit button you may need to change the X-Terminal font size to 10)
  • exit Midnight Commander, close X-Terminal and reboot the device
  • after the N900 reboots, you should see the new "Top in XTerm" option in the Menu.





When using the X-Terminal with root access enabled, be EXTREMELY CAUTIOUS! Root access enables you to modify (and thus also DAMAGE) all system files, which can even result in BRICKING the device. If you don't know what you are doing, better don't do it.

<<< Go back <<<



Nokia, Maemo and all related marks and logos are trade marks of Nokia.
This website is not in any way endorsed or supported by Nokia or Maemo.    (C) 2009 My-Maemo.com All Rights Reserved