mobcount
Count i/o calls or SMS on (Jolla) mobile devices running Sailfish OS
...The script returns the amount of incoming or outgoing call or SMS units between two points t1 <= t2. By default one call unit is 60s and one SMS unit 160 chars.
Copy the script (set permission to executable) to your mobile device (e.g. to folder /home/nemo/bash/).
Execution in Sailfish's Terminal app:
./mobcount.sh <mode> <io> <t1> <t2>
where:
mode = c (call) or s (sms)
io = i (incoming), o (outgoing)
t1 = start time (unix format)
t2 = end time (unix format)
For further information see source code and README.
The script runs on other Linux OS, too.
...