Gatotray

Window managers, icon programs, widgets, etc.
Message
Author
gatopeich
Posts: 6
Joined: Sat 29 Jan 2011, 00:15

#16 Post by gatopeich »

disciple wrote:
Does anyone know what the "wa" is?
Sure enough, "wa" is top's abbreviation for I/O waiting time. It amounts for the time the system spends waiting for disk and network operations, while the CPU is sitting on its hands (idle).

I give it a very visible position in gatotray because long I/O times are often indicative of bad system tuning, or of disk-costly daemons running at the wrong time, or also processes eating too much memory and triggering a lot of swap.

Since the system gets unresponsive during I/O wait 'attacks', they are difficult to identify, but gatotray is always there and can provide a clue in a glimpse without the need to open any app, and acts as a shortcut to 'xterm top', which is a relatively lightweight and fast way to see what is going on.

gatopeich
Posts: 6
Joined: Sat 29 Jan 2011, 00:15

#17 Post by gatopeich »

jemimah wrote:I was thinking of something like this. You probably can't count on this being here but I think it is on most machines.

Code: Select all

pwd
/proc/acpi/thermal_zone/TZ1
# cat trip_points 
critical (S5):           110 C
passive:                 107 C: tc1=1 tc2=2 tsp=300 devices=CPU0 CPU1 
active[0]:               82 C: devices=C3C1 
active[1]:               74 C: devices=C3C2 
active[2]:               66 C: devices=C3C3 
active[3]:               50 C: devices=C3C4 
active[4]:               30 C: devices=C3C5 

Code: Select all

ls /proc/acpi/thermal_zone/*/trip_points
/proc/acpi/thermal_zone/TZ1/trip_points
/proc/acpi/thermal_zone/TZ3/trip_points
/proc/acpi/thermal_zone/TZ4/trip_points
/proc/acpi/thermal_zone/TZ5/trip_points
Check this out, it is the current reference for temperature reading in Linux: http://lwn.net/Articles/268958/
Here is some discussion: http://www.mail-archive.com/linux-acpi@ ... 12483.html
And this is the somewhat obsoleted one: http://acpi.sourceforge.net/documentation/thermal.html

And please fill an issue on the new site for gatotay! http://code.google.com/p/gatotray/issues/list

User avatar
Artie
Posts: 448
Joined: Tue 04 Oct 2005, 17:45
Location: Norway
Contact:

#18 Post by Artie »

This thread got me curious about temperatures in my old laptop. It's a Compaq Evo N610c running Lupu 5.2. In system information sensors it says

C1D6 45 degrees C and never varies
TZ1 45 degrees C but this one varies a lot up and down with the load

I tried to install the heat monitor from Pwidgets but that one is useless as it's stuck on 45. Would it be possible to have an option showing TZ1 in your app?

Artie

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#19 Post by technosaurus »

Artie wrote:This thread got me curious about temperatures in my old laptop. It's a Compaq Evo N610c running Lupu 5.2. In system information sensors it says

C1D6 45 degrees C and never varies
TZ1 45 degrees C but this one varies a lot up and down with the load

I tried to install the heat monitor from Pwidgets but that one is useless as it's stuck on 45. Would it be possible to have an option showing TZ1 in your app?

Artie
Artie - Please honor the developer's request to request feature enhancements and report bugs at:
http://code.google.com/p/gatotray/issues/list
Having them in a single location is vital to proper tracking.
(btw google code's issue tracker has a means to discuss each issue until it is closed)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
chiron
Posts: 87
Joined: Mon 30 Oct 2006, 18:13
Location: Franken, Bavaria, Germany

#20 Post by chiron »

I did some patching around with Gatotray, my version now starts GKrellm (when installed) on clicking. Plus, I fiddled with the values for the thermometer, so now it starts with 35°C, and reaches the top at 85°C. Blinking starts at 70°C. If I can remember how to do the simple text-file operations in C, I will make a config-file, where one can put temperature range, max temperature, the application to start on clicking, and the text that is displayed on mouseover.

If somebody is interested and Gatopeich doesn't mind, I will put it up for downloading.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#21 Post by disciple »

Yes please, even if you don't post a binary, it would be good to post your source changes.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#22 Post by pemasu »

+1

gatopeich
Posts: 6
Joined: Sat 29 Jan 2011, 00:15

#23 Post by gatopeich »

chiron wrote:I did some patching around with Gatotray, my version now starts GKrellm (when installed) on clicking. Plus, I fiddled with the values for the thermometer, so now it starts with 35°C, and reaches the top at 85°C. Blinking starts at 70°C. If I can remember how to do the simple text-file operations in C, I will make a config-file, where one can put temperature range, max temperature, the application to start on clicking, and the text that is displayed on mouseover.

If somebody is interested and Gatopeich doesn't mind, I will put it up for downloading.
Those look like good candidates for the new "Prefs/Settings" window I added to gatotray. I was indeed considering them, but the lack of feedback made the investment uninteresting. Would you like to work on integrating those changes as settings?

Here is gatotray's website where you can find tools for collaboration: http://code.google.com/p/gatotray/

User avatar
chiron
Posts: 87
Joined: Mon 30 Oct 2006, 18:13
Location: Franken, Bavaria, Germany

#24 Post by chiron »

My knowledge of C is very basic, 20 years old, and strictly implementing algorithms ;) So I have to admit I don't know how to do anything related to UI, or even basic file operations for that matter.

As for feedback, I like your app. I changed the settings for the thermometer so I see the changes in the temp range that is interesting for me (never below 40°C and if it's above 85°C, well time to shut down)

I think I will load up the changed and commented source (not very much changed, after all), plus the binary, so anybody who wants to see the changes can just have a look. Changed source is in gatotray.c
Attachments
gatotray_patched_by_chiron.tar.gz
(30.07 KiB) Downloaded 521 times

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#25 Post by clarf »

Hi,

I´m also interested in adding my changes on Puppy 2.14X gatotray version to the main source.

Feedback: I already posted the source and binary update in the first page of this thread (on response of a request made by user Béèm), where I included modifications to make gatotray work with older kernel versions (on 2.6.18.1 kernel the cpu freq isn't displayed) and suppressed errors when it doesn´t found some kernel files.

Regards,
clarf

Post Reply