walking-octopus / system-info-ut

A beautiful system info app for Ubuntu Touch.
https://open-store.io/app/system-info.walking-octopus
GNU General Public License v3.0
0 stars 6 forks source link

[feature] More detailed hardware usage #2

Closed gbdomubpkm closed 2 years ago

gbdomubpkm commented 2 years ago

Hello. Thank you for this great app. The hardware usage part interests me most, in my case, how my Volla works.

Thank you in advance for considering the idea.

walking-octopus commented 2 years ago

Hi! I'm glad you found this app useful. If you don't mind, I reformatted your issue into a checklist. If I misunderstood anything, let me know!

gbdomubpkm commented 2 years ago

In fact, everything related to memory usage is interesting and can be a useful tool to understand why there is a crash if several apps or webapps are open at the same time, for example. In addition, I noticed that launching a webapp made with webber significantly increased the RAM used, so several webapps at the same time.... You are talking about RAM /CPU per process (that's a great idea), I talked first about RAM per app or webapp. I don't know if it is exactly the same thing but your way is good.

walking-octopus commented 2 years ago

All apps have a process with a matching name, but not all processes are user-facing apps. I tried, but I haven't come up with a way to filter it to only show user-facing apps. So, I'll just start working on a built-in task manager.

walking-octopus commented 2 years ago

Looks like I found the source of this issue. https://github.com/giampaolo/psutil/issues/685#issuecomment-202914057

walking-octopus commented 2 years ago

I've added a built-in task manager to it. It supports viewing, killing, sorting, and filtering processes in a convenient user-friendly UI. You can help test it by downloading the latest build from the CI here

gbdomubpkm commented 2 years ago

Hello. I just downloaded the trial click. Thank you for this great work. Everything seems to be working fine visually and indeed user friendly but I will continue with my overview.

gbdomubpkm commented 2 years ago

In CPU info, see temperature ! screenshot20220911_174545024

gbdomubpkm commented 2 years ago

Great task manager and it seems working nice. About visual reading, maybe improve a little comfort with 2 distinct columns aligned for all CPU RAM processes? The sort order is not persistent after restarting the app. Is it wanted? That's it for the task manager.

walking-octopus commented 2 years ago

In CPU info, see temperature!

It's the temperature for the first CPU core. Also, I've just made it automatically convert to ℃, so it would be more readable.

Maybe improve a little comfort with 2 distinct columns

I'm afraid the dedicated columns would be difficult to implement.

The sort order is not persistent after restarting the app.

I didn't make this into a persistent setting. Though if you want to, I might add it.

Overall, does the task manager feel comfortable to use?

gbdomubpkm commented 2 years ago

Hello.

I just tested: i saw that webapps (web-app container) consume a lot of RAM indeed 😉

The info reports are updated and are done in an adequate time I think.

I will be for the sorting options to remain persistent, including when you exit the task manager, which is not currently the case.

PIDs : sorry i don't know what is the meaning. But if it can be useful...

However, I often see a critical error (bar appearing at the bottom of the screen) when exiting the task manager after changing the sort order.

walking-octopus commented 2 years ago

However, I often see a critical error (bar appearing at the bottom of the screen) when exiting the task manager after changing the sort order.

It means the app crashed internally several times, Please share the logs, so I can debug this issue. Use an app like Logviewer to do it.

gbdomubpkm commented 2 years ago

library "libpq_cust.so" not found Creating a QMirClientScreen now Got library name: "/usr/lib/aarch64-linux-gnu/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so" [PERFORMANCE]: Last frame took 107 ms to render. [PERFORMANCE]: Last frame took 52 ms to render. qml: Python error: file:///opt/click.ubuntu.com/system-info.walking-octopus/1.0.3/qml/Pages/Categories/TaskManager.qml:34: TypeError: Type error qml: Python error: file:///opt/click.ubuntu.com/system-info.walking-octopus/1.0.3/qml/Pages/Categories/TaskManager.qml:34: TypeError: Type error qml: Python error: file:///opt/click.ubuntu.com/system-info.walking-octopus/1.0.3/qml/Pages/Categories/TaskManager.qml:34: TypeError: Type error QObject::startTimer: Timers cannot be started from another thread

walking-octopus commented 2 years ago

Fixed!

walking-octopus commented 2 years ago

I think I should close this issue. The memory information is now more accurate and a task manager is ready and functioning.