Page 1 of 2

[solved] a system load indicator for porteus

Posted: 09 Oct 2016, 02:15
by michael
a system load indicator for porteus

would be really helpful please


indicator-multiload

is a really good system load indicator

for ubuntu stables linux's

https://launchpad.net/indicator-multiload

https://apps.ubuntu.com/cat/application ... multiload/


which apparently is being updated

to multiload-ng

http://www.webupd8.org/2016/08/multiloa ... color.html


are you able to adapt this

to a porteus module

for everyone please ?


michael

Re: a system load indicator for porteus

Posted: 09 Oct 2016, 16:37
by brokenman
I am on 64bit right now but here is the source code for anyone that wants to compile it. Very easy.

https://udda.github.io/multiload-ng/

Just decompress the archive.
Make sure you have 05-devel.xzm module activated.
From a root terminal change into the unpacked directory: udda-multiload-ng-f7e180e

## UPDATED configure options
./autogen.sh
./configure --prefix=/usr --with-libindicator --with-systray
make
mkdir /tmp/ml
make DESTDIR=/tmp/ml install
dir2xzm /tmp/ml /tmp/multiload-ng-1.4.0-i586-1.xzm
rm -rf /tmp/ml

Your module will be in /tmp

64bit version for xfce4 is here:
https://mega.nz/#!YQBxHBrb!ee-qXK7ZXVSZ ... eD8X-iZ9jc

Re: a system load indicator for porteus

Posted: 09 Oct 2016, 21:35
by brokenman
32bit version for xfce4
Download here

Re: a system load indicator for porteus

Posted: 10 Oct 2016, 06:30
by michael
thank you for your replies brokenman

i'm sorry, i am a complete newbie

thank you for the link

to the multiload-ng usm module in the cloud

- i downloaded it

- i put it in porteus/modules/

- it did load at start up

- it does appear as a menu item in 'accessories'

- but when i select it, it doesn't want to do anything

- could it have dependencies which i don't have installed ?

- has anyone else tried it ?

perhaps the original indicator-multiload would be more likely to work ?

https://launchpad.net/indicator-multiload

michael

Re: a system load indicator for porteus

Posted: 10 Oct 2016, 12:02
by ncmprhnsbl
try running it in a terminal:

Code: Select all

multiload-ng
and post the output..

Re: a system load indicator for porteus

Posted: 10 Oct 2016, 14:57
by brokenman
You need to right click on the xfce4 systray and choose to add it to the panel.

re: a system load indicator for porteus

Posted: 10 Oct 2016, 16:32
by michael
hi

thank you for your replies

i have been doing all my updates

and correcting my modules folder

and still when i run multiload-ng from terminal

this is the output

multiload-ng:
error while loading shared libraries:
libgtk-3.so.0:
cannot open shared object file:
No such file or directory

i tried searching for libgtk in usm keywords

and there was no answer


please continue to help

best wishes michael

re: a system load indicator for porteus

Posted: 10 Oct 2016, 16:46
by michael
hi

thank you for your replies

yes

i am getting the hang of operating the panel

i have right clicked on the panel

and selected > add panel items > multiload-ng

and then multiload-ng does appear in the panel

and it does work correctly to a certain extent

but the visual bar graphs don't work ?


so in addition i selected

> add new panel items > cpu load graph

and that does work correctly


michael

Re: re: a system load indicator for porteus

Posted: 10 Oct 2016, 16:52
by Blaze
Hi, michael.
Can you show log of these commands?

Code: Select all

su
toor
find /usr/lib/ -iname *libgtk*
find /usr/lib64/ -iname *libgtk*
Cheers

re: a system load indicator for porteus

Posted: 10 Oct 2016, 17:49
by michael
hi blaze

thank you

this is the output for

find /usr/lib/ -iname *libgtk*

/usr/lib/libgtkmm-2.4.so
/usr/lib/libgtkmm-2.4.so.1
/usr/lib/libgtkmm-2.4.so.1.1.0
/usr/lib/libgtksourceview-2.0.so
/usr/lib/libgtksourceview-2.0.so.0
/usr/lib/libgtksourceview-2.0.so.0.0.0
/usr/lib/libgtk-x11-2.0.la
/usr/lib/libgtk-x11-2.0.so
/usr/lib/libgtk-x11-2.0.so.0
/usr/lib/libgtk-x11-2.0.so.0.2400.20


michael

re: a system load indicator for porteus

Posted: 10 Oct 2016, 17:57
by michael
and there is no output for

find /usr/lib64/ -iname *libgtk*

re: a system load indicator for porteus

Posted: 10 Oct 2016, 18:52
by michael
i found this


root@porteus:/# usm -s libgtk-3.so.0

-----------------------------
Are you searching for a library file?

libgtk-3.so.0, it seems a library.
Would you like to find the package for it? [y/n]

libgtk-3.so.0 was found in gtk+3-3.8.2-i486-2.txz

. . . .

i am am a newbie

i am not sure how to download

gtk+3-3.8.2.-i486-2.txz

correctly

and install it correctly

please continue to help

thanks

michael

re: a system load indicator for porteus

Posted: 10 Oct 2016, 19:00
by michael
okay

i have used the usm gui

to access and download to /tmp/usm/

gtk+3-3.8.2-i486-2.txz


and it has also downloaded

aaa_elflibs-14.1-i486-3.txz

adobe-reader-it-8.1.7-i486-4sl.txz

(i am not sure why)


and the usm gui has converted

these .txz files to .xzm modules

for me too


i am sorry

i am not sure what to do next

please continue to help

michael

Re: re: a system load indicator for porteus

Posted: 10 Oct 2016, 19:19
by Blaze
michael, you are need to use Porteus 3.2 RCx
http://porteus.org/porteus-mirrors.txt
Porteus 3.2 include gtk+3

Re: a system load indicator for porteus

Posted: 10 Oct 2016, 19:26
by michael
okay

thanks blaze !