≡ Menu

2011

How to Check and Repair MySQL Tables Using Mysqlcheck

When your mysql table gets corrupted, use mysqlcheck command to repair it. Mysqlcheck command checks, repairs, optimizes and analyzes the tables. 1. Check a Specific Table in a Database If your application gives an error message saying that a specific table is corrupted, execute the mysqlcheck command to check that one table. The following example [...]

{ 11 comments }

Typically two processes communicate with each other on a single system through one of the following inter process communication techniques. Pipes Message queues Shared memory There are several other methods. But the above are some of the very classic ways of interprocess communication. But have you ever given a thought over how two processes communicate [...]

{ 88 comments }

If you want to manipulate excel files programmatically, you can use Perl Spreadsheet module, which provides an object interface that makes it easier to create and parse Excel files. Install Spreadsheet WriteExcel Module Method 1: Standard install using make Download the zipped tar file of Spreadsheet-ParseExcel and Spreadsheet-WriteExcel from cpan. Untar and unzip the module as follows: [...]

{ 16 comments }

6 Linux Crontab Command Examples

Crontab command manages the cron table that is used by the cron daemon to execute the cron jobs. This article explains the various command line options of the crontab command. 1. Tweaking Other Users Crontab using Option -u -u stands for user. This should be followed by a valid username in the system. -u option [...]

{ 12 comments }

C Arrays Basics Explained with 13 Examples

This article is part of our on-going C programming series. There are times while writing C code, you may want to store multiple items of same type as contiguous bytes in memory so that searching and sorting of items becomes easy. For example: Storing a string that contains series of characters. Like storing a name [...]

{ 57 comments }

Top 25 Best Linux Performance Monitoring and Debugging Tools

I’ve compiled 25 performance monitoring and debugging tools that will be helpful when you are working on Linux environment. This list is not comprehensive or authoritative by any means. However this list has enough tools for you to play around and pick the one that is suitable your specific debugging and monitoring scenario. 1. SAR [...]

{ 42 comments }

C Pointers Fundamentals Explained with Examples – Part I

Anybody who is working on Linux environment (not just developers), should understand the fundamentals of C programming language and write some basic C program. This article is part of our ongoing series on C programming language. The concept of pointers is one of the most powerful fundamentals of C/C++ language. Through pointers a developer can [...]

{ 104 comments }

How to Setup and Configure YPServ Linux NIS Server and Client

NIS stands for Network Information Service. NIS is also called as YP. YP stands for Yellow Pages. NIS is a lookup service for set of databases. The databases in this cases can be a passwd file, group file, hosts file, etc. This is primarily used as a central repository to hold all username and passwords [...]

{ 17 comments }