udda / multiload-ng

Modern graphical system monitor for any panel
http://udda.github.io/multiload-ng
GNU General Public License v2.0
146 stars 22 forks source link

[Questions] webgui for multiload-ng? #36

Open Ansem93 opened 7 years ago

Ansem93 commented 7 years ago

Hi! I have an headless server without X installed, I use it simply with the command line and the webinterfaces. There is any plan to make a version of multiload NNG for headless server, so with a webgui and always running?

udda commented 7 years ago

Hello, thanks for your feedback!

It's a very good idea, just a bit hard to implement.

Currently, Multiload-ng makes heavy use of GTK+ features, for graph positioning, and interaction with the user. So unfortunately, at the current state, Multiload-ng requires a running X server.

However, graph drawing itself is done through Cairo, which as far as I know, does not strictly require X to work (as it can also output to image files). So technically speaking, I think this is possible, though it requires massive changes in the code.

Answering your question, there wasn't any plan to make a headless version of Multiload-ng...until now! I put it into my TODO list, and will assess the feasibility of your suggestion. I think that it could be very useful to many users.

(sorry I clicked on Close issue by mistake...)

Ansem93 commented 7 years ago

Thanks for such a fast and nice answer :D I continue to monitor this project so ^^ I really hope to see this program running on my server on day :) Just an other question: since you're monitoring network, it's possible to control which service use more network? For example I would love to see network used some services in the last day/week (like I can see on the smartphone). I'm not really sure if this is possible on linux :(

udda commented 7 years ago

That's totally possible on Linux! (Android itself has Linux kernel)

But I think this goes a little out of the purpose/capabilities of Multiload-ng, at least in its current state. The idea itself is not bat at all, but then I may have to implement similar mechanisms also for top consumers of other resources (disk I/O, memory, CPU time...) and find a suitable place where to show them. So in future versions this could be implemented in a larger scale.

Can you please rephrase your question, and write it into a new issue? This question put here is likely to be forgotten with time, as it's just one of the comments.

Ansem93 commented 7 years ago

no problem :D I'm alwasy happy to see a good open source application made for linux!

vn971 commented 7 years ago

Small note. Measuring internet usage is much easier if you have separate user (owner) for every running application, as Android has. Now, on a desktop Linux, many programs are run from a single user, so that's harder. OK, that's for my knowledge of the subject.)

udda commented 7 years ago

Update: Web interface will ship with Multiload-ng 2.0 (under heavy development). Web server does not need X installed, only some frontends (those that use GTK) will.

Here is a screenshot taken from my phone, that shows resource usage of the development computer. Please note that this is still experimental, actual UI will certainly change a lot.

whatsapp image 2017-01-22 at 18 44 53

Multiload-ng graph is generated from the server as a plain PNG image, so it can be used in any suitable context.

Ansem93 commented 7 years ago

Wow! Can't wait to try it! Thanks a lot for your great work!

Ansem93 commented 7 years ago

Any news about multiload 2.0? Also a question, can it run on debian 8 right?

udda commented 7 years ago

Hello,

Multiload-ng 2.0 is at approx 80% complete. Due to work commitments, development will be a little slower for some time, but I will release a beta as soon as possible.

The only requisite is a Linux kernel that's not too old (v2.6.36). So it can run on any distro, including Debian 8.

The following is a partial list of the changes that may be of interest:

General enhancements:

Container improvements:

New graphs:

Enhancements to old graphs:

More graphs are planned before the first release.

I will create a G+ community where I will post news about Multiload-ng. Will copy the link here when it's ready.

Ansem93 commented 7 years ago

Wow that's a huge list of new things :D Sorry, I didn't mean to pressure you, it was just a curiosity!

P.s. se posso chiedere, sei italiano?

udda commented 7 years ago

@Ansem93 si, ma qui รจ meglio usare l'inglese, per essere comprensibile a tutti ๐Ÿ™‚

Per comunicazioni meno ufficiali, scrivimi pure per email: mr.udda@gmail.com

Ansem93 commented 7 years ago

any news about the new version? :)

udda commented 7 years ago

At the moment, I'm barely able to build executables with basic functionality.

Would you like to become a beta tester? Please mail me at mr.udda@gmail.com (yes, you can write in Italian ๐Ÿ˜)