LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-19-2009, 03:44 PM   #1
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Rep: Reputation: 53
identify files used opening an application?


I want to experiment using the readahead package in Fedora. From what I have read, I can give it a list of files to have it read them into ram cache which will speed up application start-up speed. I have 4GB of ram on my laptop and generally only sit around 300mb used; so I have plenty of io cache I can benefit from.

I plan to test with Songbird. When I first boot Songbird after a restart, it takes 11.53 secs to boot. If I close and reopen the app, it takes 3.43 seconds presumably because the files are already in io cache.

I need to find out what files are loaded when Songbird starts. How to I find this out?

Running `ldd songbird-bin` gives me a very short list of so files, so there must be other files that are read. Is there some standard way of finding this out or someway to monitor this?

Perhaps a trick I can do with lsof?

thanks
 
Old 12-19-2009, 03:48 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,098

Rep: Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101
Try using strace.

Cheers,

Evo2.
 
1 members found this post helpful.
Old 12-19-2009, 04:06 PM   #3
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Original Poster
Rep: Reputation: 53
worked perfectly.
`strace -e trace=file ./songbird`

Also complained about some other errors that I might be able to address while I am here (missing gstreamer libs and so on).
thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application tab gone. Where is Trash? Opening .HTML files Margaret Lowder Linux - Software 4 08-25-2008 03:04 PM
Opening GUI application via another user's permissions itz2000 Linux - Newbie 3 08-28-2007 02:44 PM
Identify this clock application? General Linux - Software 4 05-21-2006 02:22 PM
identify application causing network traffic maenho Linux - Software 2 03-03-2005 09:24 AM
Opening an external application using Qprocess in QT designer nunation Programming 3 01-30-2005 02:39 AM


All times are GMT -5. The time now is 01:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration