Sonelli / juicessh-performancemonitor

A JuiceSSH plugin for monitoring linux servers
Apache License 2.0
651 stars 237 forks source link

Working on Wheezy VServer; Crashes on Wheezy armhf Homeserver #9

Open shoeper opened 10 years ago

shoeper commented 10 years ago

As stated in the title the performance monitor works on my debian wheezy virtual server. But it does not on my wheezy armhf homeserver. After connecting there is a fast change between the monitor and juice ssh app until I kill both apps. A had a short look on how the values are examined, at least the used commands worked fine. Maybe there is a small difference in the output so that the patterns don't work anymore - but that shouldn't lead to such a crash. So, any idea on this? ... it would also be nice to be able to connect to multiple servers and to have graphs for the last 60 seconds and 5 or 10 minutes. And getting additional information by clicking on one of the fields would als be nice (like which application uses how much ram or % of cpu)

PaulMaddox commented 10 years ago

Can you provide a logcat of the crash?

shoeper commented 10 years ago

Not sure how to create one. If you can give me short instructions I can do.

yassirh commented 10 years ago

@shoeper if you have installed the app from the playstore, when it crashes click on report.

PaulMaddox commented 10 years ago

@yassirh is correct. Make sure to put a comment referencing issue #9 so that I can find the bug report on our developer console.

shoeper commented 10 years ago

@yassirh the display flickers after connecting via juicessh, unfortunately the app doesn't completely crashes it just returns to the default display after some time.

Oh, as I just've seen it stays connected but shows no values and is very unresponsive.

And as stated before, when I connect to another server everything works as it should

edit: I'm not sure but does the regex from https://github.com/Sonelli/juicessh-performancemonitor/blob/master/Plugin/src/main/java/com/sonelli/juicessh/performancemonitor/controllers/CpuUsageController.java

matches when output from command is:

cpu  5975117 11903621 2930184 127038821 1046683 264 31221 0 0 0
cpu0 3008894 6162988 1716702 61847939 503099 253 23950 0 0 0
cpu1 2966223 5740633 1213482 65190882 543584 11 7271 0 0 0
.
.
.

edit2: here's the output of all command on the machine where it doesn't work (debian wheezy armhf on cubietruck) https://gist.github.com/shoeper/9f1c87bccf91755b2bad