Solved

Linux profiler tools

Posted on 2010-08-28
3
589 Views
Last Modified: 2012-05-10
I would like to know if there are any good tools that can report file accesses on a linux OS such as ubuntu.

i need to know the files access along with file operations..  i would also like to know which files were accesses from the cache and which files are from disk. I need to be able to determine all the lower level operations.

thanks in advance.
0
Comment
Question by:myship
3 Comments
 
LVL 7

Accepted Solution

by:
mcuk_storm earned 250 total points
ID: 33549426
you can use strace to attach onto a process to monitor activity:
strace -fF -p <pid> -e open

will attach onto a process and monitor it and anything it forks, and show file open activity.

0
 

Author Comment

by:myship
ID: 33604760
would i be able to monitor what files are being accessed?
what files are in the cache?
...
0
 
LVL 7

Assisted Solution

by:askb
askb earned 250 total points
ID: 33780958
If you want to use a separate program and get the syscall output, then strace as above should be good!

or

If you want to compile your program with a profiler:
http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html
http://badgertronics.com/writings/gprof.html

or

If you want more details such as inode information with file cacheing or and diffirent on-disk strutures, you would find it out with debugfs.

Hope this helps!
 
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Postfix issues with spam/auth attempts under NAT 9 93
AD LDAP LDS 3 68
windows 7 starter missing password 21 78
linux - yum package installation issue 2 16
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question