View Single Post
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#13
Originally Posted by reinob View Post
Define "all tasks". Killing every single process will make your N900 reboot. So now take your time to make a list of processes that should not be killed. Then you can easily write a script to kill all pids not in your list (plus the name to pid mapping).
The term all tasks, to my mind, would be all applications with open windows so a shut-all command would close the all open windows. Some applications have additional background services so just closing the window remotely, probably wouldn't free up a noticeable amount of resources.

One way this might work would be to run as a daemon. It would be able to detect when the system has fully booted so it can recognise the baseline state. As each application, and its supporting services, initialises these would be logged so when shut-all is actioed it wouldn't kill off core system services.
...thinking aloud

Plus leave the RAM management to the kernel. He knows it better than you.
Yes.
 

The Following 2 Users Say Thank You to demolition For This Useful Post: