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

Wednesday, January 16, 2013

How To Follow System and Kernel Logs From The Command Line In Mac OS X

April 22, 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, here’s something for our Mac OS X users! If you are troubleshooting some of the more difficult problems, which you can have on a Mac, a good place to look are the system and Kernel Logs contained within Console app. But, the unfortunate fact is that there are several times when you can’t access Console either as you are remotely troubleshooting, in Single User Mode, or even as the log files have grown so large that it actually starts crashing Console.app when it’s trying to load.

Follow system and kernel logs from command line in Mac OS X

Well, if you are in such a situation, or for some any other reasons that you would want to follow your Console system log from the command line, here’s what you have to type;

tail -f /var/log/system.log

Also, you can do the same with the kernel log that’s great if you are troubleshooting hardware and connectivity issues;

tail -f /var/log/kernel.log

Actually, this tail -f command lets you the specific file to be read and printed to your screen in a live stream. Also, there are a lot of other log files you can follow contained within /var/log, but the above two are generally the most useful for troubleshooting purposes.

Also, you could combine these commands with GeekTool, if you want to see system log activity directly on your Mac OS X desktop.

Well, if you’ll have any difficulty while executing the above command lines, then, just don’t forget to share your views and comments on this with us. 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 Follow System and Kernel Logs From The Command Line In Mac OS X
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!