Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a system monitor quite similar to gnome-system-monitor in ubuntu using python.

I have used quickly application for the GUI and now i want to show the cpu history as shown by the system monitor , I want to know where I can get the source code to the system monitor and how to use it in my application.

share|improve this question

The source code for the System Monitor can be acquired by opening a terminal and entering:

apt-get source gnome-system-monitor

Unfortunately it is written in C. You cannot extend it with Python and Quickly.

share|improve this answer

A good reference for that would be the CPUMeter screenlet. You'd have to handle saving the data though.

sudo apt-get install screenlets-pack-all

On my system it's located here:

Tested on 12.04

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.