HTOP app for EasyOS?

Moderator: BarryK

Post Reply
Tahrbaby
Posts: 119
Joined: Mon Jul 13, 2020 8:26 am
Location: Tenerife
Has thanked: 44 times
Been thanked: 18 times

HTOP app for EasyOS?

Post by Tahrbaby »

Anyone got a working HTOP app for EasyOS ?

Cheers

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

I to wish there was a working Htop.

User avatar
rockedge
Site Admin
Posts: 6553
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2757 times
Been thanked: 2629 times
Contact:

Re: HTOP

Post by rockedge »

Wow, htop does not work on EasyOS? Somewhere along the line today I will boot up an EasyOS and try that out.

Does Btop work?

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

rockedge wrote: Tue Oct 10, 2023 2:28 pm

Wow, htop does not work on EasyOS? Somewhere along the line today I will boot up an EasyOS and try that out.

Does Btop work?

I have not been able to locate a package to download and install for either one.
There is top and it works in the terminal.

How can I check for installed software packages using the terminal.

Thanks.

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: HTOP

Post by OscarTalks »

Haven't tested EasyOS for a little while, downloaded 5.5.4 and installed to USB flash drive. Booted OK.
Downloaded devx .sfs and installed to "Main"
Downloaded htop-3.2.2 source code and compiled in EasyOS
Only took a total of a few minutes and seems to work OK
I made a .pet which (was) attached for testing.

EDIT:- Package attachment removed since htop is now built in to EasyOS 5.5.5
See posts below.

Attachments
htop322-easyos554.jpg
htop322-easyos554.jpg (119.04 KiB) Viewed 1871 times
Last edited by OscarTalks on Sat Oct 14, 2023 12:52 pm, edited 3 times in total.
Tahrbaby
Posts: 119
Joined: Mon Jul 13, 2020 8:26 am
Location: Tenerife
Has thanked: 44 times
Been thanked: 18 times

Re: HTOP

Post by Tahrbaby »

rockedge wrote: Tue Oct 10, 2023 2:28 pm

Wow, htop does not work on EasyOS? Somewhere along the line today I will boot up an EasyOS and try that out.

Does Btop work?

Tried several Htop pets but none seemed to work in EasyOS and no,Btop doesnt start in a terminal.

Tahrbaby
Posts: 119
Joined: Mon Jul 13, 2020 8:26 am
Location: Tenerife
Has thanked: 44 times
Been thanked: 18 times

Re: HTOP

Post by Tahrbaby »

OscarTalks wrote: Tue Oct 10, 2023 4:05 pm

Haven't tested EasyOS for a little while, downloaded 5.5.4 and installed to USB flash drive. Booted OK.
Downloaded devx .sfs and installed to "Main"
Downloaded htop-3.2.2 source code and compiled in EasyOS
Only took a total of a few minutes and seems to work OK
I made a .pet which is attached for testing.

Thanks @OscarTalks

Installed your.pet but can't get it to run,although it does create a menu entry but wont run from terminal either.
I dont have devx installed .

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

Tahrbaby wrote: Tue Oct 10, 2023 5:37 pm
OscarTalks wrote: Tue Oct 10, 2023 4:05 pm

Haven't tested EasyOS for a little while, downloaded 5.5.4 and installed to USB flash drive. Booted OK.
Downloaded devx .sfs and installed to "Main"
Downloaded htop-3.2.2 source code and compiled in EasyOS
Only took a total of a few minutes and seems to work OK
I made a .pet which is attached for testing.

Thanks @OscarTalks

Installed your.pet but can't get it to run,although it does create a menu entry but wont run from terminal either.
I dont have devx installed .

Same here shows in the System Menu but doesn't run.
I don't know how to install devx.

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: HTOP

Post by OscarTalks »

Hmm, OK
You shouldn't need the devx to run the htop .pet
The command for running it from terminal should be:-
urxvt -e htop
or
sakura -e htop
depending on which terminal you want it to run in.
Maybe I overlooked something. Didn't test installing the .pet in a fresh pfix=ram boot as I would normally do with Puppy, will investigate and report any findings.

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: HTOP

Post by OscarTalks »

The problem seems to be caused by the fact that when you click on the .pet to install it, the package manager (petget or whatever) is editing the .desktop file so the one that ends up in /usr/share/applications is different from the one that I put in the .pet
The Exec line only has "urxvt"
Which of course is wrong.

EDIT:- I see we end up with a different (less pretty) icon in /usr/share/pixmaps as well !!

You can extract the one from the .pet and substitute it (if you know how) (EDIT:- same applies to the .png icon too)
Or make suitable manual edits to the .desktop file (if you know how)
Then run fixmenus followed by jwm -reload in terminal to register the changes.

In case you prefer to delete - copy - paste, the contents of the .desktop file I put in the .pet look like this:-

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Htop
GenericName=Process Viewer
GenericName[ca]=Visualitzador de processos
GenericName[da]=Procesfremviser
GenericName[de]=Prozessanzeige
GenericName[en_GB]=Process Viewer
GenericName[es]=Visor de procesos
GenericName[fi]=Prosessikatselin
GenericName[fr]=Visualiseur de processus
GenericName[gl]=Visor de procesos
GenericName[it]=Visore dei processi
GenericName[ko]=프로세스 뷰어
GenericName[nb]=Prosessviser
GenericName[nl]=Viewer van processen
GenericName[nn]=Prosessvisar
GenericName[pl]=Przeglądarka procesów
GenericName[pt]=Visualizador de Processos
GenericName[pt_BR]=Visualizador de processos
GenericName[ru]=Монитор процессов
GenericName[sk]=Prehliadač procesov
GenericName[sl]=Pregledovalnik opravil
GenericName[sr@ijekavian]=Приказивач процеса
GenericName[sr@ijekavianlatin]=Prikazivač procesa
GenericName[sr@latin]=Prikazivač procesa
GenericName[sr]=Приказивач процеса
GenericName[sv]=Processvisning
GenericName[tr]=Süreç Görüntüleyici
GenericName[uk]=Перегляд процесів
GenericName[zh_CN]=进程查看器
GenericName[zh_TW]=行程檢視器
Comment=Show System Processes
Comment[ca]=Visualitzeu els processos del sistema
Comment[da]=Vis systemprocesser
Comment[de]=Systemprozesse anzeigen
Comment[en_GB]=Show System Processes
Comment[es]=Mostrar procesos del sistema
Comment[fi]=Katsele järjestelmän prosesseja
Comment[fr]=Affiche les processus système
Comment[gl]=Mostrar os procesos do sistema.
Comment[it]=Mostra processi di sistema
Comment[ko]=시스템 프로세스 보기
Comment[nb]=Vis systemprosesser
Comment[nl]=Systeemprocessen tonen
Comment[nn]=Vis systemprosessar
Comment[pl]=Pokaż procesy systemowe
Comment[pt]=Mostrar os Processos do Sistema
Comment[pt_BR]=Mostra os processos do sistema
Comment[ru]=Просмотр списка процессов в системе
Comment[sk]=Zobraziť systémové procesy
Comment[sl]=Prikaz sistemskih opravil
Comment[sr@ijekavian]=Приказ системских процеса
Comment[sr@ijekavianlatin]=Prikaz sistemskih procesa
Comment[sr@latin]=Prikaz sistemskih procesa
Comment[sr]=Приказ системских процеса
Comment[sv]=Visa systemprocesser
Comment[tr]=Sistem Süreçlerini Göster
Comment[uk]=Перегляд системних процесів
Comment[zh_CN]=显示系统进程
Comment[zh_TW]=顯示系統行程
Icon=/usr/share/pixmaps/htop.png
Exec=urxvt -e htop
Terminal=false
Categories=X-System-process
User avatar
Keef
Posts: 278
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 75 times

Re: HTOP

Post by Keef »

To be honest I'm not sure a menu entry for htop is worth the bother. Can be just as quick to open a terminal and type htop (not even worth using tab completion).
That's the way I usually start htop anyway.

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

So there's not an easier way to install a working Htop.

This is way over my head and nothing works and I have all sorts of Htop files in my downloads now and still no working Htop.

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: HTOP

Post by OscarTalks »

Actually it is even worse than I thought. Even the executable that gets installed is just a blank script and not the binary in the .pet

Probably best to extract the .pet and install each of the files manually in the file system (there are not very many) and then run fixmenus followed by jwm -reload

I think these are legacy hacks in petget which were designed to help in certain scenarios, but are causing things to completely fail in this case.
If BarryK sees this, perhaps he can advise or I wonder if some sort of review of older petget hacks would be a good idea?

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: HTOP

Post by OscarTalks »

tammi806 wrote: Tue Oct 10, 2023 7:53 pm

So there's not an easier way to install a working Htop.
This is way over my head and nothing works and I have all sorts of Htop files in my downloads now and still no working Htop.

Here is a possible workaround which you can try (as an alternative to manual installation of 4 files)
Delete previously downloaded package files
Use package manager to uninstall any htop packages
Download the package from the above post
Click on it to install it and see if it works now.

What I have done is recreate the .pet package with a different name, but contents are exactly as before.
Different in only that the initial "H" is upper case rather than the standard lower case
But since this means that the name is not recognised as "htop", the hacks which break the installation are hopefully NOT applied.

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

@OscarTalks

Okay I will give that a try in a bit and see what happens.

I appreciate all of your effort in doing this.

Thank You. :)

Tahrbaby
Posts: 119
Joined: Mon Jul 13, 2020 8:26 am
Location: Tenerife
Has thanked: 44 times
Been thanked: 18 times

Re: HTOP

Post by Tahrbaby »

OscarTalks wrote: Tue Oct 10, 2023 8:46 pm
tammi806 wrote: Tue Oct 10, 2023 7:53 pm

So there's not an easier way to install a working Htop.
This is way over my head and nothing works and I have all sorts of Htop files in my downloads now and still no working Htop.

Here is a possible workaround which you can try (as an alternative to manual installation of 4 files)
Delete previously downloaded package files
Use package manager to uninstall any htop packages
Download the package from the above post
Click on it to install it and see if it works now.

What I have done is recreate the .pet package with a different name, but contents are exactly as before.
Different in only that the initial "H" is upper case rather than the standard lower case
But since this means that the name is not recognised as "htop", the hacks which break the installation are hopefully NOT applied.

That fixed it!
All working here now.
Opens from the menu entry and also from terminal. :thumbup2:

Great job.Thanks @OscarTalks

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

Yep works here also.

Thanks @OscarTalks :thumbup2:

User avatar
BarryK
Posts: 2704
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: HTOP

Post by BarryK »

How is Htop any better than Top that is already in EasyOS (in System menu)?

Tahrbaby
Posts: 119
Joined: Mon Jul 13, 2020 8:26 am
Location: Tenerife
Has thanked: 44 times
Been thanked: 18 times

Re: HTOP

Post by Tahrbaby »

BarryK wrote: Wed Oct 11, 2023 3:10 am

How is Htop any better than Top that is already in EasyOS (in System menu)?

Htop shows all cores of cpu usage,RAM usage and Swap partition.
Easier to configure from its GUI and is far better on the eyes.

tammi806
Posts: 155
Joined: Thu Aug 31, 2023 3:11 pm
Location: USA
Has thanked: 120 times
Been thanked: 24 times

Re: HTOP

Post by tammi806 »

Tahrbaby wrote: Wed Oct 11, 2023 7:24 am
BarryK wrote: Wed Oct 11, 2023 3:10 am

How is Htop any better than Top that is already in EasyOS (in System menu)?

Htop shows all cores of cpu usage,RAM usage and Swap partition.
Easier to configure from its GUI and is far better on the eyes.

"GUI and is far better on the eyes"

don570
Posts: 688
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 117 times

Re: HTOP app for EasyOS?

Post by don570 »

How is Htop any better than Top that is already in EasyOS (in System menu)?

I like to use htop to do a search by name (F3)
then F9 will kill the process

But top would be nearly the same.
____________________________

Clarity
Posts: 3843
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1633 times
Been thanked: 526 times

Re: HTOP app for EasyOS?

Post by Clarity »

Not taking anything away from HTOP, but is BTOP a better offering for the same cost/effort?

Information presented gives an accurate broader picture with same/similar functionality.

User avatar
BarryK
Posts: 2704
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 739 times

Re: HTOP app for EasyOS?

Post by BarryK »

Htop is builtin in Easy 5.5.5, see announcement:

https://bkhome.org/news/202310/easyos-k ... eased.html

Also new is 'iotop', to monitor I/O.

Post Reply

Return to “EasyOS”