NEXT PROBLEM with the shell script function from macrodroid
if i wrote top -n 1 i got wrong datas
1. The most of the data are missing, that will be only show a part from the beginning.
2. the data not correct. for example
Shell output from Macrodroid...
same problem... top parameter doesn't work
But i found a solution:
I thought the problem was the automatic intervall, cause it shows the infos all x seconds....
so, if you use:
top -n 1
it only shows the current parameters at once.
thats work
Have it.
I will look if I can use it.
I try it with top -n 1
[s[999C[999B[6n[u[H[J[?25l[H[J[s[999C[999B[6n[uTasks: 2 total, 1 running, 1 sleeping, 0 stopped, 0 zombie Mem: 3.5G total, 3.4G used, 110M free, 17M buffers Swap: 2.0G total, 1.7G used...
Thank you.
To convert the value is no problem. I will do it in my php script. It was only important to know if it is ALWAYS GB. And you said yes ;-)
So, my last question. How can o get the CPU info.?
How can i set "automatically startup" when the phone is turn on
Hello
I use the app since yesterday to send a http request and i will be pay the full version. For me important is the CPU, temperature and he memory full and avaible size.
In my script i need to calculate a little bit, so i need to remove th GB text of the value and convert it to integer...