Re: [gnome-love] Intrested in hacking gnome and doing gtop tree view
- From: Sebastian Kapp <lasheimok web de>
- To: Luke Hutchison <lukeh email com>
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] Intrested in hacking gnome and doing gtop tree view
- Date: 08 Jun 2001 19:11:13 -0100
On 05 Jun 2001 12:25:18 +1200, Luke Hutchison wrote:
Kevin Vandersloot wrote:
I agree that simplicity would be key here. After all I basically use
gtop to see which process is consuming 99% cpu and kill it.
KDE actually has a little applet now which notifies you if there is a
program consuming excess resources (e.g. 99% CPU) for an extended period of
time, and asks you if you want to kill it or not (it also tells you though
that it might be performing a useful function). Something like this could
be quite handy as an option, although I know most current Unix users
wouldn't use it.
I like the idea, so I wrote a little applet that does exactly that.
Well, trys to do, at least. I've got two problems:
1. I used the automake stuff generated by Anjuta, but that doesn't
support applets yet, so I can't compile the applet. Can someone give me
a hint how I have to change automake.am to make it support applets?
In the applets docs is an example of a Makefile, it goes something like
this:
FIXME, I need a newer example.
But that automake stuff isn't mentioned at all.
2. I scanned gtop for hours, but I just couldn't figure out how to use
libgtop. Can someone give me an example how to get the cpu percent of
each process? Every other information seemed to be easily available, but
I couldn't find that particular one.
So, currently, I've just implemented the GUI, but couldn't even test it.
Well, every help is appreciated...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]