Re: HELP: cpu load graph plotting program
- From: muppet <scott asofyet org>
- To: Kevin C. <kevingpo hotmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: HELP: cpu load graph plotting program
- Date: Sun, 26 Jun 2005 18:49:58 -0400
Questions like this are for gtk-app-devel-list. gtk-devel-list is
for discussions of the development of gtk+ itself.
On Jun 26, 2005, at 2:26 PM, Kevin C. wrote:
Problem is, how can I get C/C++ to call or incorporate RRDTool
command-line program into my GUI? Is there any way in C/C++ to call
another program? I don't think there is.
Sure there is -- system(), in the standard C library, is a good place
to start.
http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/
library_23.html#SEC402
However, this solution seems rather heavyweight for a monitor that
will run every second or so.
Or does anyone know a 3rd party graph plotting library that plots
to GUIs like GTK/QT/SDL? Or maybe GTK-graph GTK-plot libraries?
One that comes to mind is GtkDatabox.
http://www.eudoxos.net/gtk/gtkdatabox/
You can also have a look at libgtop, the library implementing the
functionality of GTop:
http://directory.fsf.org/libs/LibGTop.html
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]