We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

mcetools - how to reset stats? [answered]

asked 2019-02-27 13:43:48 +0300

kuba77 gravatar image

updated 2019-02-27 14:28:50 +0300

jiit gravatar image

I'm using the command "mcetool --get-display-stats=human" to get info about display-SOT, but how to reset these stats without reboot?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Spam Hunter
close date 2019-03-05 14:25:08.823963

1 Answer

Sort by » oldest newest most voted
1

answered 2019-02-27 18:13:30 +0300

Spam Hunter gravatar image

updated 2019-02-27 18:15:40 +0300

My initial answer was completely wrong, so I removed it. I decided to look back into your question and found the correct answer.

Stop mce service;

devel-su systemctl stop mce.service

Then start mce service;

devel-su systemctl start mce.service

Now get display stats again;

mcetool --get-display-stats

All should now be reset to '0 times'

I tried using 'restart' instead of stopping and starting, for some reason, this did not work for me, but stopping and starting did....YMMV!

edit flag offensive delete publish link more

Comments

Thanks, it works.

kuba77 ( 2019-02-27 20:36:47 +0300 )edit

Question tools

Follow
3 followers

Stats

Asked: 2019-02-27 13:43:48 +0300

Seen: 249 times

Last updated: Feb 27 '19