Top view running process

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

Top view running process

#1 Post by nic007 »

Older Puppys have Top to check running processes, etc. I notice that it has only one reading for CPU usage whereas HTop (the utility in newer Puppys) have readings for multi-core CPU's eg. my dual-core processor shows reading for two "cpu's" with Htop but only one reading with Top. Does Top combine the readings for multi-core cpu's or does it only show the reading for one processing unit? I'm experimenting with different Puppys on the same machine with regards to CPU usage which could have an effect on general power usage. So far there has been some surprising results.
1) Puppy 412 - Using old version of VLC running high quality video > average CPU load according to Top = 45%
2) Racy 5.5 - Same VLC version and same video as in 1 > Top = 20%
3) Tahr 6.0.5 - Newer version of VLC, same video > HTop = 40% (combined total for duo-processor units) so that makes it 20% on average. Same as Racy.
Last edited by nic007 on Thu 19 Jul 2018, 19:51, edited 1 time in total.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#2 Post by rufwoof »

All depends upon OS and version etc. My OpenBSD top command for instance shows all four of my cores.
Attachments
s.png
(198.95 KiB) Downloaded 124 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#3 Post by nic007 »

Probably old or cutdown version :(
Attachments
capture12296.png
(12.19 KiB) Downloaded 117 times

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#4 Post by rufwoof »

Ahhhh! Scary picture nic007.
(Predictable PID's, So many things running as root esp. vlc)
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#5 Post by perdido »

nic007 wrote:Probably old or cutdown version :(
Yea, top is a busybox utility, htop is its own program.
Probably top is in all the puppies, just not on the menu.

edit: htop available for version 4.xx puppies
http://distro.ibiblio.org/puppylinux/pet_packages-4/

,

mostly_lurking
Posts: 328
Joined: Wed 25 Jun 2014, 20:31

#6 Post by mostly_lurking »

With busybox top, you can press "c" to switch between combined and per-core CPU usage.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#7 Post by nic007 »

mostly_lurking wrote:With busybox top, you can press "c" to switch between combined and per-core CPU usage.
Thanks, that works. :)

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#8 Post by nic007 »

It seems Top by default shows the average load between the multi processing core units of the CPU which percentage corresponds with the load showed for all the running processes in the detail section. Showing the core units seperately by default (like with HTop), can be confusing.

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#9 Post by nic007 »

Interesting to note that gmplayer (MPlayer) uses 50% more CPU power (load) than VLC to play the same video on the same machine running the same Puppy.

Post Reply