Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 03:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Gatotray
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Author Message
gatopeich

Joined: 28 Jan 2011
Posts: 6

PostPosted: Wed 09 Feb 2011, 05:52    Post subject:  

Quote:
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.
Back to top
View user's profile Send private message 
gatopeich

Joined: 28 Jan 2011
Posts: 6

PostPosted: Wed 09 Feb 2011, 05:55    Post subject:  

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:
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:
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@vger.kernel.org/msg12483.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
Back to top
View user's profile Send private message 
Artie


Joined: 04 Oct 2005
Posts: 446
Location: Norway

PostPosted: Wed 09 Feb 2011, 12:19    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger 
ICQ Number 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Wed 09 Feb 2011, 12:48    Post subject:  


_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
chiron


Joined: 30 Oct 2006
Posts: 87
Location: Franken, Bavaria, Germany

PostPosted: Sun 21 Aug 2011, 15:29    Post subject:  

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.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Mon 22 Aug 2011, 05:08    Post subject:  

Yes please, even if you don't post a binary, it would be good to post your source changes.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5458
Location: Finland

PostPosted: Mon 22 Aug 2011, 05:26    Post subject:  

+1
Back to top
View user's profile Send private message 
gatopeich

Joined: 28 Jan 2011
Posts: 6

PostPosted: Mon 22 Aug 2011, 05:30    Post subject:  

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/
Back to top
View user's profile Send private message 
chiron


Joined: 30 Oct 2006
Posts: 87
Location: Franken, Bavaria, Germany

PostPosted: Mon 22 Aug 2011, 08:04    Post subject:  

My knowledge of C is very basic, 20 years old, and strictly implementing algorithms Wink 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
gatotray_patched_by_chiron.tar.gz
Description 
gz

 Download 
Filename  gatotray_patched_by_chiron.tar.gz 
Filesize  30.07 KB 
Downloaded  225 Time(s) 
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Mon 22 Aug 2011, 12:56    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [25 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0657s ][ Queries: 13 (0.0049s) ][ GZIP on ]