maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [ANNOUNCE] System Monitor (https://talk.maemo.org/showthread.php?t=93824)

Custodian 2014-09-08 20:31

[ANNOUNCE] System Monitor
 
System Monitor records and shows your SailfishOS phone usage detail stats.

Currently you are able to see:
  • CPU: total, user, system, io
  • Battery: battery chage %
  • Wlan traffic: rx and tx
  • Cell traffic: rx and tx
  • Memory: ram and swap usage
More stats will be added in future releases.
Dump time/value for recorded data will be added in future releases.

During installation, package installs 'harbour-systemmonitord' service to your system, and starts it. If you remove package, service is stopped and uninstalled.

Default fetch data interval is 120 seconds, you can adjust it at settings page.

Service monitoring functions (current state, start/stop) willbe added in future releases.

Download:
Warehouse or OpenRepos

Source code:
Github.

Screenshots:
http://i64.fastpic.ru/thumb/2014/090...fb602a2f3.jpeg http://i64.fastpic.ru/thumb/2014/090...a7e15c556.jpeg http://i64.fastpic.ru/thumb/2014/090...4635a8f42.jpeg http://i68.fastpic.ru/thumb/2014/091...0e7ed6632.jpeg http://i68.fastpic.ru/thumb/2014/091...6ed500e47.jpeg

Dave999 2014-09-08 20:40

Re: System Monitor
 
Any plans to join the harbour?

Thanks for your invested time.

Custodian 2014-09-08 20:51

Re: System Monitor
 
Quote:

Originally Posted by Dave999 (Post 1438629)
Any plans to join the harbour?

systemd services and/or dbus activation via .service file are not allowed at harbour.

minimos 2014-09-09 04:39

Re: System Monitor
 
Quote:

Originally Posted by Custodian (Post 1438628)
During installation, package installs 'harbour-systemmonitord' service to your system, and starts it. If you remove package, service is stopped and uninstalled.

Default fetch data interval is 60 seconds, you can adjust it at settings page.

Have you measured the effect of this running service on the battery duration?

Custodian 2014-09-09 07:23

Re: System Monitor
 
Quote:

Originally Posted by minimos (Post 1438649)
Have you measured the effect of this running service on the battery duration?

As far as I can see, I use 1 or 2 min interval for data measurments, it does not affect battery life. Wakeup events managed with libkeepalive.

For example, after 11 hours of running with 2 min interval, total cpu time of daemon process is 00:00:14 seconds.

Jordi 2014-09-09 09:19

Re: System Monitor
 
Very useful and very nice! Thanks for this. And I like the fact that the power consumption is minimal.

If we close the app, does it stop also the daemon? Any possibility to keep it going?

Is it possible to see the power usage of each app?

Any possibility to donate? :)

Custodian 2014-09-09 09:27

Re: System Monitor
 
Quote:

Originally Posted by Jordi (Post 1438673)
If we close the app, does it stop also the daemon? Any possibility to keep it going?

Daemon is a system service, and it does not require gui application to be launched.
Daemon is managed with systemd. Gui page for service management at application will be added in future verseions.

Quote:

Originally Posted by Jordi (Post 1438673)
Is it possible to see the power usage of each app?

Inderect measurment based on cpu time will be added in future versions. They can be inaccurate, since they does not take into account hardware consumptions (i.e. cell chip, display and so on).
As far as I know, there is no battery consumptions api available at sailfishos so far. If you have any piece of information - let me know.

Cpu users / Network consumers applications also will be added.

Quote:

Originally Posted by Jordi (Post 1438673)
Any possibility to donate? :)

Beer link in my signature.

Leinad 2014-09-09 10:12

Re: System Monitor
 
For received data:
There is an amount ato the top of the graphics, what does it say?
Like here: http://fastpic.ru/view/64/2014/0909/...a8f42.png.html there is 50Kb at the top, but the graphic shows, that there was received much more... is it an average value? and is there a way to show the complete amount?

Custodian 2014-09-09 10:16

Re: System Monitor
 
Quote:

Originally Posted by Leinad (Post 1438679)
For received data:
There is an amount ato the top of the graphics, what does it say?
Like here: http://fastpic.ru/view/64/2014/0909/...a8f42.png.html there is 50Kb at the top, but the graphic shows, that there was received much more... is it an average value? and is there a way to show the complete amount?

Top right number shows current (last measured) value.

Complete amount(total), if applicable, as well as top application will be added to graph details page in next versions.
For now there are only extra graph shown. Tap on graph to open details page.

Custodian 2014-09-09 21:22

Re: [ANNOUNCE] System Monitor
 
Minor update v0.3-10:
- Icon updated! (restart phone or lipstick)
- Removed unnecessary graph redraws
- Cover graphs added
- Settings for archive length (not sure about values tho)
- Remember graphs choice

Next update will feature per app statistics and/or history slider.

irulestar 2014-09-11 08:14

Sorry OOT
can I Get those wallpaper!?

Custodian 2014-09-11 08:16

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by irulestar (Post 1438876)
Sorry OOT
can I Get those wallpaper!?

It's wallpaper from default ambiance called 'GrassRoot'

irulestar 2014-09-11 11:23

Quote:

Originally Posted by Custodian (Post 1438877)
It's wallpaper from default ambiance called 'GrassRoot'

Sorry for OOT :)
Ah... Really!?
Hahaha... I dont use Sailfish anymore. Im n9 user.
Ill be glad if some one send the Image...
:)

Custodian 2014-09-11 21:37

Re: [ANNOUNCE] System Monitor
 
Minor update 0.5-15 released
Changelog:
- Settings page updated with service control, and autorun options.
- Minor ui fixes.

http://i68.fastpic.ru/thumb/2014/091...6ed500e47.jpeg

You may need to visit settings page, and re-enable daemon after updating to this version.

chris_pap 2014-09-11 21:48

Re: [ANNOUNCE] System Monitor
 
info: there is an error in warehouse
file './h/harbour-systemmonitor-0.4-11.armv7hl.rpm' not found.
Do we have to do something before we update?
I would say no, but could you confirm that? :D

Custodian 2014-09-11 21:50

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by chris_pap (Post 1438947)
info: there is an error in warehouse
file './h/harbour-systemmonitor-0.4-11.armv7hl.rpm' not found.
Do we have to do something before we update?
I would say no, but could you confirm that? :D

'Check updates' in warehouse, so info for available packages will be updated, and new version will be visible.

chris_pap 2014-09-11 21:54

Re: [ANNOUNCE] System Monitor
 
Yep, my fault!
Thanks

Custodian 2014-09-30 18:29

Re: [ANNOUNCE] System Monitor
 
Minor update 0.6-18 released
Changelog:
- Android battery support
- Graph ui fixes
- Total values shown for network data

Leinad 2014-10-04 16:37

Re: [ANNOUNCE] System Monitor
 
thanks for adding the total amount of traffic!

i think, it would be very useful, if you could add a period "this month" and display the values in MB instead of KB

Custodian 2014-10-04 18:30

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by Leinad (Post 1441850)
thanks for adding the total amount of traffic!

i think, it would be very useful, if you could add a period "this month" and display the values in MB instead of KB

Currently stats record period is limited to 14 days, because wider period means larger data size, and possible performance degradation.

I'll more periods in future releases.

pichlo 2015-01-08 21:40

Re: [ANNOUNCE] System Monitor
 
1 Attachment(s)
I somehow lost the records for the past ~30 hours or so. Funnier still, it looks like I also lost even the time. See the screenshot, it ends about 2am this morning. It's about 9:30pm now.

Any idea how this could happen? I've had a feww boot loops recently caused by a dodgy battery, could that have caused it? How can I fix it?

Attachment 36362

EDIT:
Tapping Clear all data does nothing. The remorse timer starts and completes but after that, the "Units collected" number stays the same. So do all the graphs.

Custodian 2015-01-08 22:10

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by pichlo (Post 1455956)
Any idea how this could happen? I've had a feww boot loops recently caused by a dodgy battery, could that have caused it? How can I fix it?
EDIT:
Tapping Clear all data does nothing. The remorse timer starts and completes but after that, the "Units collected" number stays the same. So do all the graphs.

Check settings page, if daemon is enabled and running right now.
If you have installed new sysmon update recently, and you phone have been rebooted, daemon may not autostart, because autostart method has been changed.
Also make sure that you are running latest version: 0.6-21

pichlo 2015-01-08 22:26

Re: [ANNOUNCE] System Monitor
 
Version is 0.6-21. Daemon is enabled and autostarted. I should add (wanted to but the battery died) that clearing all data has no effect. The remorse timer starts and completes but all the graphs and the "Units collected" figure stay the same. Changing the period has no effect either. I would expect the data archve size to change but it doesn't.

EDIT:
I just looked up and spotted my edit. Looks like the phone somehow managed to post it before the battery died.

Anyway, I stopped the daemon, closed SysMon, deleted base.sqlite, started SysMon and the daemon again and now the database is filling up again. Yey! :)

minimos 2015-01-09 05:20

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by pichlo (Post 1455966)
Anyway, I stopped the daemon, closed SysMon, deleted base.sqlite, started SysMon and the daemon again and now the database is filling up again. Yey! :)

So, perhaps was the database corrupted?

minimos 2015-01-19 12:49

Re: [ANNOUNCE] System Monitor
 
I noticed that on my phone System Monitor graph got interrupted and I recalled that after a phone reboot I did not start it again.
However, after I restarted the application, the graph is now joining the last known point before the stop to the new ones.

I'm not sure whether to call it a 'bug', it depends on how you look at it, but IMHO it would be more correct to just leave the blank non-monitored area as it is, rather than making an interpolation. Or at very least, draw it e.g. with a dotted line.

Custodian 2015-01-19 13:02

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by minimos (Post 1457238)
I'm not sure whether to call it a 'bug', it depends on how you look at it, but IMHO it would be more correct to just leave the blank non-monitored area as it is, rather than making an interpolation. Or at very least, draw it e.g. with a dotted line.

The point of interpolation is: your phone still discharging while data is not gathered, and memory usage is growing, or lowering, and so on.
I have added feature request for dashed drawing style or empty graphs for missing data.

szopin 2015-01-19 13:48

Re: [ANNOUNCE] System Monitor
 
Quote:

Originally Posted by pichlo (Post 1455966)
Anyway, I stopped the daemon, closed SysMon, deleted base.sqlite, started SysMon and the daemon again and now the database is filling up again. Yey! :)

Thanks, had the same problem and that fixed it, maybe an option from inside the app to do the same would be helpful

Feathers McGraw 2016-05-06 07:25

Re: [ANNOUNCE] System Monitor
 
Hey, thank you for this app, it works great and has a nice polished interface.

I have a couple of small suggestions...if the default time period for graph data was 1h, it wouldn't look like nothing was happening when the app is first launched after installation. Second, you've been kind enough to share the source but there's no link on the app description on openrepos, which made me think it wasn't open source at first! Please add a link :)

Thanks again.


All times are GMT. The time now is 17:38.

vBulletin® Version 3.8.8