How can I get the source code to gnome-system-monitor and use it in my application?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
3
down vote
favorite
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.
python application-development quickly
add a comment |Â
up vote
3
down vote
favorite
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.
python application-development quickly
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
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.
python application-development quickly
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.
python application-development quickly
edited Apr 26 '12 at 17:04
Jorge Castro
34.5k104421614
34.5k104421614
asked Apr 26 '12 at 16:58
Vivek Kumar Singh
161
161
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
5
down vote
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.
add a comment |Â
up vote
1
down vote
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:/usr/share/screenlets/screenlets-pack-all/CPUMeter/CPUMeterScreenlet.py
Tested on 12.04
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
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.
add a comment |Â
up vote
5
down vote
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.
add a comment |Â
up vote
5
down vote
up vote
5
down vote
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.
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.
edited Apr 26 '12 at 17:04
Jorge Castro
34.5k104421614
34.5k104421614
answered Apr 26 '12 at 17:03
Jjed
10.5k65789
10.5k65789
add a comment |Â
add a comment |Â
up vote
1
down vote
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:/usr/share/screenlets/screenlets-pack-all/CPUMeter/CPUMeterScreenlet.py
Tested on 12.04
add a comment |Â
up vote
1
down vote
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:/usr/share/screenlets/screenlets-pack-all/CPUMeter/CPUMeterScreenlet.py
Tested on 12.04
add a comment |Â
up vote
1
down vote
up vote
1
down vote
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:/usr/share/screenlets/screenlets-pack-all/CPUMeter/CPUMeterScreenlet.py
Tested on 12.04
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:/usr/share/screenlets/screenlets-pack-all/CPUMeter/CPUMeterScreenlet.py
Tested on 12.04
answered Apr 26 '12 at 17:06
RobotHumans
22.3k359102
22.3k359102
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f125468%2fhow-can-i-get-the-source-code-to-gnome-system-monitor-and-use-it-in-my-applicati%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password