maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Identify Applications Loading at Startup (https://talk.maemo.org/showthread.php?t=62053)

mail_e36 2010-09-10 15:28

Identify Applications Loading at Startup
 
What is the best way to identify applications which start running when the device starts up and stay running? I have used top and htop to see processes, but I specifically want to identify processes and applications which start when the device is turned on. My goal is to remove unnecessary applications from startup to improve N900 performance.

Any thoughts are welcome, thanks.

hawaii 2010-09-10 15:32

Re: Identify Applications Loading at Startup
 
One way would be to look at the upstart scripts in /etc/event.d/ or watch `lsof` and look at the "COMMAND" column to see what is opening files.

You'll notice A LOT of stale entries in /etc/event.d/ as many packages don't remove them - which is fairly ridiculous.

Rob1n 2010-09-10 15:39

Re: Identify Applications Loading at Startup
 
Quote:

Originally Posted by hawaii (Post 812748)
You'll notice A LOT of stale entries in /etc/event.d/ as many packages don't remove them - which is fairly ridiculous.

That's nothing to do with the packages. Apt doesn't remove any configuration files (i.e. anything under /etc) unless run with --purge.

mail_e36 2010-09-15 16:36

Re: Identify Applications Loading at Startup
 
Thanks for the response.

Can we put together a list of the upstart scripts that should be present on a stock 1.2 version of the N900? Since I have installed so many applications it's very hard for me to tell which scripts in /etc/event.d/ were there to begin with versus which scripts were installed by a third party application.

hawaii 2010-09-17 03:08

Re: Identify Applications Loading at Startup
 
uncompress the FIASCO image and you can view the ones that are included from an installation.

theonelaw 2010-09-17 07:00

Re: Identify Applications Loading at Startup
 
Maybe add a line to the startup script
/etc/init.d/zzinitdone (line 25 perhaps)

Code:

...
...
INITFILE=/etc/init.d/zzinitdone

ps -A >> /home/user/MyDocs/startedapps.txt

for "$1" in
...
...

and judge from the output?

zzinitdone is a kludge (says so, anyway)
so looks like that is what the original team had in mind:cool:

...or not...

HTH

mail_e36 2010-11-05 20:19

Re: Identify Applications Loading at Startup
 
Is there any chance someone who has an umcompressed FIASCO image handy could list the files present in the /etc/event.d directory?

Thank you

Quote:

Originally Posted by hawaii (Post 818562)
uncompress the FIASCO image and you can view the ones that are included from an installation.


mail_e36 2010-11-09 14:13

Re: Identify Applications Loading at Startup
 
No takers for the below request?

Quote:

Originally Posted by mail_e36 (Post 864630)
Is there any chance someone who has an umcompressed FIASCO image handy could list the files present in the /etc/event.d directory?

Thank you



All times are GMT. The time now is 21:16.

vBulletin® Version 3.8.8