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 20 Dec 2014, 21:11
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
xload is NOT a CPU usage meter
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Author Message
disciple

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

PostPosted: Sun 06 Feb 2011, 01:40    Post subject:  

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/viewtopic.php?p=493173#493173
Or there is what Hairywill described above, which I seemed to miss at the time.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!

Last edited by disciple on Thu 05 Jan 2012, 22:05; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Mon 14 Nov 2011, 22:13    Post subject:  

Quote:
a monitor for running processes is actually a lot more useful as a diagnostic tool than a CPU meter.


Exactly so. Cool
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 . . .
[I like to pretend I can program] Rolling Eyes
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 . . . Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
disciple

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

PostPosted: Thu 05 Jan 2012, 22:04    Post subject:  

Lobster - I presume you are talking about a CPU usage meter in your first paragraph, and xload in your second paragraph...
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
banger0250


Joined: 12 Aug 2010
Posts: 44
Location: Rothwell,Brisbane,Qld,AU

PostPosted: Sat 07 Jan 2012, 19:26    Post subject:    

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. Smile
_________________
Taking pup for a walk
Back to top
View user's profile Send private message MSN Messenger 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Mon 09 Jan 2012, 02:17    Post subject:  

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. Smile
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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
disciple

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

PostPosted: Mon 09 Jan 2012, 04:33    Post subject:  

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 Smile. Xload is very useful as it is, and the point in this thread is so that people understand it.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Wed 01 Feb 2012, 21:29    Post subject:  

Quote:
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. Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
greengeek

Joined: 20 Jul 2010
Posts: 2750
Location: New Zealand

PostPosted: Sun 07 Dec 2014, 02:52    Post subject:  

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


Joined: 18 May 2008
Posts: 4424

PostPosted: Sun 07 Dec 2014, 06:00    Post subject:  

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 .

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

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

PostPosted: Sun 07 Dec 2014, 10:33    Post subject:  

Quote:
now that jwm can do svg

Hang on - does SIT use JWM?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Sun 07 Dec 2014, 18:40    Post subject:  

No, its wm independent, but some people were avoiding using svg before because jwm did not support it.

In fact, now it would be super simple to make svg icons match a gtk/jwm theme.

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


Joined: 06 Nov 2007
Posts: 118
Location: Elliot Lake, Ontario

PostPosted: Yesterday, at 21:31    Post subject:  

Xload has recently been demonstrating its usefulness to me quite clearly. I have on several occasions been caught with a multi-crossbar xload display. I haven’t a clue what caused this.

Except for the latest case of overload. I installed Skype from a .pet file. The initiating panel appears. So far so good. I type in my username and password. Nothing happens, except that xload goes nuts. It works up to one crossbar, and after a while my computer comes to a convincing halt. The only way out is doing an illegal log-off. Then I can start all over again. Same thing happens.

I understand from this thread that either there are too many programs trying to use the cpu at once, or one program goes haywire. OK. That’s nice to know. But how to analyze this malfunction? That’s, in my view, the next question about xload’s usefulness.

I am one of those semi-idiots that have only the barest notion of how Puppy works. I read somewhere that Barrie K’s ultimate goal was to turn Puppy into, essentially, a turn-key proposition. That would have been fine by me. I am not too interested in fiddling with it. I just want to run programs - nothing fancy either. I only have been able to manage, by the way, by getting a lot of help from this forum. I am getting better all the time at doing what I am told to do - as long as it is not too complicated and replete with jargon.

So, at least I know now that something is going wrong when Skype wants to talk to its master on the net by presenting my name and number. Wary 5.3 protests, without giving me a clue of what to do. (There are two problems, really: Skype won’t work, and Puppy won’t work, (under certain circumstances.)

The following may or may not have something to do with it: My personal storage is almost full (which is another, recurring, issue I don’t quite know how to deal with, and could be something for another thread).

Anybody?

Jake
Wary Puppy 5.3, frugal
HP Compaq
DC7100 SFF
CPU: P4 3.0GHz
HDD: 80GB-SATA
RAM: 1024MB
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [42 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0861s ][ Queries: 13 (0.0105s) ][ GZIP on ]