Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 124 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Thursday, December 27, 2012

How To Monitor Mac OS X Filesystem Usage and Access Using Opensnoop Utility

April 24, 2011 by · Leave a Comment 


Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 112 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Warning: Missing argument 2 for wpdb::prepare(), called in /home/idev/public_html/3Noobs.com/wp-content/plugins/sharebar/sharebar.php on line 124 and defined in /home/idev/public_html/3Noobs.com/wp-includes/wp-db.php on line 990

Well, the Opensnoop utility is a very useful tool for tracking down specifics like what file specific apps are accessing, but also, you can use “opensnoop” to monitor all filesystem access in Mac OS X. Don’t worry, it’s a very simple process. Here’s presenting you the step by step guidelines on how to monitor Mac OS X Filesystem usage and access using “opensnoop” utility on below.

How to monitor Mac OS X filesystem usage and access with opensnoop

First, launch the “Terminal” and type the following command line;

sudo opensnoop

After that, you’ll be asked for your root password, and then, you’ll be immediately presented with a firehose of data showing everything that’s going on within Mac OS X.

Now, are you wondering on what all these information you are seeing is? Actually, the colorized guide below shows you what you’ll be most interested in following, Purple is the Process ID, Blue is the process name, and Red is the file path:

How to monitor Mac OS X filesystem usage and access with opensnoop (1)

Normally, the most useful information to follow is the process name and path to the file the given process is accessing. Also, you’ll discover a correspondence to what processes are shown in opensnoop with what is in the activity monitor / task manager.

Also, you can follow a specific file and discover what’s accessing it with :

sudo opensnoop -f /path/to/file

Or, also, you can track anything that relates to a specific file or app by using grep. For example, I want to follow everything having to do with Terminal app or files related to it :

sudo opensnoop | grep Terminal

Also, you can track specific apps with either their process id or app name :

sudo opensnoop -n Terminal

Well, if you’ll have any difficulty while going through the above steps, then, don’t hesitate, just write to us in our comment section below. Also, if you are successful in performing the above, then, just don’t forget to share your views and comments on this with us.


Did not find what you were looking for? Try using our below search engine..

Loading
We will send you some more information related to How To Monitor Mac OS X Filesystem Usage and Access Using Opensnoop Utility
Article by Prativa Khuntia

Hello Friends ! This is Prativa, a full time writer who covers breaking Apple News and writes all the things about iPhone, iPad, iPod touch and Mac OS X exclusively for 3noobs.com. I love descriptive writing. Apart from that I have great interest on Science related topics as I was a Science student.

Prativa Khuntia has written 2680 articles for us.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!