xload is NOT a CPU usage meter

Using applications, configuring, problems
Message
Author
User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#21 Post by DaveS »

I read through this thread a few times now, and oddly have come to the conclusion that a monitor for running processes is actually a lot more useful as a diagnostic tool than a CPU meter.
Spup Frugal HD and USB
Root forever!

asdf42
Posts: 2
Joined: Mon 21 Dec 2009, 21:40

#22 Post by asdf42 »

A few things about xload and CPU meters:

* I use puppy for web browsing, often with many pages opened. Xload increases before my PC gets unresponsive. It is a very useful information. Until I read this thred, I never knew how it detects it, but I used it.

* For a very long time, I didnt pay attention to the white lines across it. It took me *very* long to realize that these are the scales and thus their number is more important than the graph itself. - I believe a tooltip saying how the graph should be read and what it means is VERY important and it should be included in the next version of puppy.

* If anybody wants to monitor the CPU usage, I recommend running a console and calling "top". It is a standard unix command that gives info about processes sorted by CPU usage, about memory usage and similar things. If you dont know it, just try it! I believe this info about managing your processes should be in all starter guides.

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

Great idea

#23 Post by disciple »

I believe a tooltip saying how the graph should be read and what it means is VERY important and it should be included in the next version of puppy.
Yes, good point. freememapplet needs the same thing. But I don't think jwm can provide tooltips for swallowed items though, so you'd either need to modify jwm or xload and freememapplet, or perhaps run them via alltray or something...
I believe this info about managing your processes should be in all starter guides.
Yes, although you shouldn't really need to know it. Puppy should just work :wink:
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

DMcCunney
Posts: 889
Joined: Tue 03 Feb 2009, 00:45

#24 Post by DMcCunney »

asdf42 wrote:* If anybody wants to monitor the CPU usage, I recommend running a console and calling "top". It is a standard unix command that gives info about processes sorted by CPU usage, about memory usage and similar things. If you dont know it, just try it! I believe this info about managing your processes should be in all starter guides.
I use top regularly. But it should be noted that the implementation Puppy uses is the cut down version included in busybox. The real thing has a much larger feature set. See http://linux.die.net/man/1/top

I have Ubuntu in another partition on the box that runs Puppy, and copied Ubuntu's full version over for use in Puppy.
______
Dennis

proximityinfotech1

#25 Post by proximityinfotech1 »

Now the question is, is there a similar app that DOES graph CPU usage, and can be used in JWM?
There is xloadtime, which is a fork of xload, that can display an extra bar for it, but it doesn't show a graph over time, just a single bar per CPU.

_____________________________________________

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

#26 Post by disciple »

Somebody found some sort of easy tool for making tray apps a while ago and several apps were made - one of them may have been for CPU usage.
I think this was in the thread for 2.14R or something - can anybody remember?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#27 Post by 01micko »

disciple

Is this the one? http://www.murga-linux.com/puppy/viewtopic.php?t=44986

I still have it installed on my old machine.
Puppy Linux Blog - contact me for access

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

#28 Post by disciple »

No, at least not the first version posted there. As I described there, it seems to show the CPU speed, so is useful on a laptop or something with dynamic CPU scaling or whatever it's called..
I can't remember for sure what the "modified" version there shows, but from my second comment it sounds like it isn't conventional "cpu usage" either.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#29 Post by disciple »

If I haven't imagined it and there really was one, I think it was about the same time as that post though... maybe a couple of months later.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

mulluysavage
Posts: 53
Joined: Sat 01 May 2010, 01:49

#30 Post by mulluysavage »

I upgraded to 5.1.1 yesterday. I was concerned about my red blob, which I thought was a cpu meter! :) Today, my red blob has 5 lines, 4 of which are full. My computer runs fine, but I am wondering why I have so many threads! (Do I have a lot, it seems like it)

Asus M3N78 Pro
AMD Phenom Quad-Core @ 2.6 Ghz
3 GB RAM

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

#31 Post by disciple »

proximityinfotech1 wrote:Now the question is, is there a similar app that DOES graph CPU usage, and can be used in JWM?
There is gatotray, a proper trayapp http://www.murga-linux.com/puppy/viewto ... 173#493173
Or there is what Hairywill described above, which I seemed to miss at the time.
Last edited by disciple on Fri 06 Jan 2012, 02:05, edited 1 time in total.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#32 Post by Lobster »

a monitor for running processes is actually a lot more useful as a diagnostic tool than a CPU meter.
Exactly so. 8)
Sometimes the meter is maxed out, a solid block . . .
This means both of my dual cores are occupied.
I should know why . . . I might be watching a video and doing some other task simultaneously . . .

Yesterday the meter was as streaky as bacon
(white lines)
Which indicated that several threads were running
Why? Been doing some pretend programming . . .
:roll:
By running Htop (Menu / System / System Status and Config in Puppy 5.3 or command line 'top') I could work out what they were . . . :idea:
'Restart X' cleared these still running threads . . . :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#33 Post by disciple »

Lobster - I presume you are talking about a CPU usage meter in your first paragraph, and xload in your second paragraph...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
banger0250
Posts: 44
Joined: Thu 12 Aug 2010, 20:23
Location: Rothwell,Brisbane,Qld,AU

#34 Post by banger0250 »

WOW, i have never checked this thread out, WOW. Wasn't expecting it to be so long. I always setup conky, Didn't know what that thing in the tray was. :)
Taking pup for a walk

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

#35 Post by technosaurus »

banger0250 wrote:WOW, i have never checked this thread out, WOW. Wasn't expecting it to be so long. I always setup conky, Didn't know what that thing in the tray was. :)
same here, but I know how to fix it... /proc has a file that does show the 1,5 and 15 minute load average (I'm in my Droid, so can't check). Just use it to generate the image (there is an equivalent c function too) I wrote a script that will generate an xpm image with text and a percent bar which could be used by pnmmon or other generalized tray apps.
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].

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

#36 Post by disciple »

Yes, we discussed some solutions like that earlier in the thread, and also a ready-made tray-app (gatotray). But that isn't "fixing" anything :). Xload is very useful as it is, and the point in this thread is so that people understand it.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#37 Post by Lobster »

Xload is very useful as it is
Agreed.

A tooltip should be easy to implement?
Recently in using Openshot (still flakey in 1.4 but improving) the white threads grow in number telling me when it is likely to break and need a reboot. Just using restart of x I still found remaining threads running.
Invaluable. 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#38 Post by greengeek »

technosaurus wrote: I wrote a script that will generate an xpm image with text and a percent bar which could be used by pnmmon or other generalized tray apps.
I seem to recall seeing a couple of threads where you mentioned something like a special monitoring mechanism you wrote for a variety of activities (not just cpu activity) but can't put my finger on it at the moment. Did I understand it correctly that your method allows a variety of different 'things' to be monitored and reflected in the tray?

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

#39 Post by technosaurus »

greengeek wrote:
technosaurus wrote: I wrote a script that will generate an xpm image with text and a percent bar which could be used by pnmmon or other generalized tray apps.
I seem to recall seeing a couple of threads where you mentioned something like a special monitoring mechanism you wrote for a variety of activities (not just cpu activity) but can't put my finger on it at the moment. Did I understand it correctly that your method allows a variety of different 'things' to be monitored and reflected in the tray?
Simple Icon Tray:
http://murga-linux.com/puppy/viewtopic.php?t=76431

It simply monitors the images and tooltips files for changes and updates them as needed. Any number of separate process(es) can be used to generate/update the images and tooltip text. The left click and right click commands are static (not monitored), but you can make them symlinks that point to whatever executable you want to run at the time.

Though rather than using my xpm generator; I'd recommend svg for adding text now that jwm can do svg... you can even include a png image inside of an svg with shapes and/or text over it .
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].

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

#40 Post by disciple »

now that jwm can do svg
Hang on - does SIT use JWM?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply